Re: [RFC] Arch option to touch newly allocated pages

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 7 Mar 2002 23:09:03 +0000 (GMT)


> alan@lxorguk.ukuu.org.uk said:
> > Not having a fallback is unacceptable. Thats the real problem. You
> > can't go around pandering to sloppy coders who can't work a memory
> > allocator
>
> OTOH there is perhaps some justification for distinguishing between 'If you
> fail this I'll tell the user -ENOMEM and continue happily on my way'
> allocations and 'If you fail this I lose track of hardware state and all is
> fucked till we reboot' ones.

None at all. If you needed the memory before you committed to an operation
you should have reserved it before you started. See "sloppy coders"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/