Neil Brown wrote:
On Tuesday November 8, nickpiggin@yahoo.com.au wrote:
Possibly it could go into struct io_context?My quick reading of the code says that we could have to allocate the struct right there in generic_make_request, and I don'tthink we can be certain that such an allocation will succeed.Code that uses io_context can limp along if it doesn't exist. The new generic_make_request needs this bio_list to be present or it cannot do it's job.
You can ask for the io context without having a request. However, there is nothing like a mempool for them so code really should be able to limp along without them. I guess it would be silly to require such an allocation to succeed here, because the block layer is pretty free of OOM deadlocks. -- SUSE Labs, Novell Inc.Send instant messages to your online friends http://au.messenger.yahoo.com -
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/
- References:
- [PATCH resubmit] do_mount: reduce stack consumption
- From: Heiko Carstens <heiko.carstens@de.ibm.com>
- Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Heiko Carstens <heiko.carstens@de.ibm.com>
- Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Adrian Bunk <bunk@stusta.de>
- Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: cplk@itee.uq.edu.au
- Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Neil Brown <neilb@suse.de>
- Re: [dm-devel] Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Neil Brown <neilb@suse.de>
- Re: [dm-devel] Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Andrew Morton <akpm@osdl.org>
- Re: [dm-devel] Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Nick Piggin <nickpiggin@yahoo.com.au>
- Re: [dm-devel] Re: [PATCH resubmit] do_mount: reduce stack consumption
- From: Neil Brown <neilb@suse.de>
- [PATCH resubmit] do_mount: reduce stack consumption
- Prev by Date: Re: (2.6.12) Unable to handle kernel paging request at virtual address 00100100
- Next by Date: Re: bus_to_virt equivalent
- Previous by thread: Re: [dm-devel] Re: [PATCH resubmit] do_mount: reduce stack consumption
- Next by thread: Re: [PATCH resubmit] do_mount: reduce stack consumption
- Index(es):
![]() |