From mboxrd@z Thu Jan 1 00:00:00 1970 From: dedekind1@gmail.com (Artem Bityutskiy) Date: Sun, 21 Oct 2012 14:00:04 +0300 Subject: [PATCH 07/11] fsmc/nand: Provide contiguous buffers to dma In-Reply-To: References: <2b88c853b3691338fae037f569917fc300cd6032.1349778821.git.vipin.kumar@st.com> <507794B6.2000107@st.com> <1350307104.4115.23.camel@sauron.fi.intel.com> <1350371685.5769.45.camel@sauron.fi.intel.com> Message-ID: <1350817204.1704.0.camel@kyv> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sun, 2012-10-21 at 00:38 -0700, Brian Norris wrote: > >> This is good idea, the problem is that it is a bit more work than > >> hacking the driver, so most people prefer the latter. By removing all > >> kmalloc()'s I basically wish to force people to go this way. > > Did you mean vmalloc()'s? Yes. > > >> What are the SC functions names you refer? > > > > I'm mainly thinking of blk_rq_map_sg() > > from block/blk-merge.c Yeah, may be re-working or extending MTD api with SG lists would be the way to go, but this is a lot more work... -- Best Regards, Artem Bityutskiy -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: