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

Alan Cox
2002-03-07T22:56:21Z

> 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"