Re: [PATCH] pktcdvd & udf bugfixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux