P
Phil Carmody
Never used? I can point to several places in the linux kernel where it's
done (and those are just in Nokia's contributions to the kernel, there
may be many others).
If you need a contiguous block of physical memory for DMA, for example,
then first you ask for what's ideal, and then reduce your request if
that fails. Lather, rinse, repeat, until it's futile.
If the software vendor is also the hardware vendor, then he cannot blame
the user for the version of the hardware that he's shipped.
Phil
done (and those are just in Nokia's contributions to the kernel, there
may be many others).
If you need a contiguous block of physical memory for DMA, for example,
then first you ask for what's ideal, and then reduce your request if
that fails. Lather, rinse, repeat, until it's futile.
It also means to write more code, some of which is almost never going to
get used... I mean, it would be like writing a program so that it runs
both on systems with an FPU and without: You basically have to write it
twice. It is almost always simpler to just say "Buy an FPU!" or "Buy
more RAM or enlarge the swap file!"
If the software vendor is also the hardware vendor, then he cannot blame
the user for the version of the hardware that he's shipped.
Phil