Re: [PATCH] pktcdvd & udf bugfixes
From: Phillip Susi
Date: Sun Jan 15 2006 - 17:25:37 EST
Surely the kernel can allocate pagable memory if it chooses to? I think
in the case of pktcdvd it would be best for the buffers to be pagable
when initially allocated and filled, and only locked into memory when
the bio is sent down to the cdrom driver. That way you could keep a
fairly large number of buffers on larger ( 256 KB+ ) packets in memory
for write combining, without placing undue burden on non paged pool.
Peter Osterlund wrote:
Ahh, excellent. Also, is the memory currently non pagable? Is there
a reason for that?
Yes the memory is non pagable. The linux kernel doesn't support
pagable kernel memory, only user space memory can be swapped out.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/