>>>>> "Christoph" == Christoph Hellwig <[email protected]> writes: Christoph> On Wed, Apr 27, 2005 at 11:53:15AM -0400, Jeff Garzik Christoph> wrote: >> I don't see anything wrong with a ->nopage approach. >> >> At Linus's suggestion, I used ->nopage in the implementation of >> sound/oss/via82cxxx_audio.c. Christoph> The difference is that you return kernel memory (actually Christoph> pci_alloc_consistant memory that has it's own set of Christoph> problems), while this is memory not in mem_map, so he Christoph> allocates some regularly kernel memory too to have a struct Christoph> page and just leaks it Are you suggesting then that we change do_no_page to handle this as a special return value then? Jes - 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/
- Follow-Ups:
- References:
- [patch] mspec driver for 2.6.12-rc2-mm3
- From: [email protected] (Jes Sorensen)
- Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Andrew Morton <[email protected]>
- Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Jes Sorensen <[email protected]>
- Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Christoph Hellwig <[email protected]>
- Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Jes Sorensen <[email protected]>
- Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Christoph Hellwig <[email protected]>
- Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Jes Sorensen <[email protected]>
- returning non-ram via ->nopage, was Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Christoph Hellwig <[email protected]>
- Re: returning non-ram via ->nopage, was Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Jes Sorensen <[email protected]>
- Re: returning non-ram via ->nopage, was Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Jeff Garzik <[email protected]>
- Re: returning non-ram via ->nopage, was Re: [patch] mspec driver for 2.6.12-rc2-mm3
- From: Christoph Hellwig <[email protected]>
- [patch] mspec driver for 2.6.12-rc2-mm3
- Prev by Date: RE: 2.6.12-rc2-mm3 pciehp regression
- Next by Date: Re: any way to find out kernel memory usage?
- Previous by thread: Re: returning non-ram via ->nopage, was Re: [patch] mspec driver for 2.6.12-rc2-mm3
- Next by thread: Re: returning non-ram via ->nopage, was Re: [patch] mspec driver for 2.6.12-rc2-mm3
- Index(es):