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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Mar 07 2002 - 18:09:03 EST


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



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:11 EST