Re: RFC: prepare for struct scatterlist entries without page backing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Julian Calaby <julian.calaby@xxxxxxxxx>
- Subject: Re: RFC: prepare for struct scatterlist entries without page backing
- From: Christoph Hellwig <hch@xxxxxx>
- Date: Thu, 13 Aug 2015 16:35:28 +0200
- Cc: Boaz Harrosh <boaz@xxxxxxxxxxxxx>, Christoph Hellwig <hch@xxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, axboe@xxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-nvdimm@xxxxxxxxxxx, David Howells <dhowells@xxxxxxxxxx>, sparclinux <sparclinux@xxxxxxxxxxxxxxx>, Hans-Christian Egtvedt <egtvedt@xxxxxxxxxxxx>, linux-arch@xxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx, David Woodhouse <dwmw2@xxxxxxxxxxxxx>, Håvard Skinnemoen <hskinnemoen@xxxxxxxxx>, linux-xtensa@xxxxxxxxxxxxxxxx, grundler@xxxxxxxxxxxxxxxx, realmz6@xxxxxxxxx, alex.williamson@xxxxxxxxxx, linux-metag@xxxxxxxxxxxxxxx, Michal Simek <monstr@xxxxxxxxx>, linux-parisc@xxxxxxxxxxxxxxx, vgupta@xxxxxxxxxxxx, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, linux-alpha@xxxxxxxxxxxxxxx, Linux Media Mailing List <linux-media@xxxxxxxxxxxxxxx>, linuxppc-dev@xxxxxxxxxxxxxxxx
- In-reply-to: <CAGRGNgUKkaPnyvn30DXyNpdiXQzS6J=1+mQ3ick8C8=bhx_RHA@mail.gmail.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1439363150-8661-1-git-send-email-hch@lst.de> <55CB3F47.3000902@plexistor.com> <CAGRGNgUKkaPnyvn30DXyNpdiXQzS6J=1+mQ3ick8C8=bhx_RHA@mail.gmail.com>
- User-agent: Mutt/1.5.17 (2007-11-01)
On Thu, Aug 13, 2015 at 09:37:37AM +1000, Julian Calaby wrote:
> I.e. ~90% of this patch set seems to be just mechanically dropping
> BUG_ON()s and converting open coded stuff to use accessor functions
> (which should be macros or get inlined, right?) - and the remaining
> bit is not flushing if we don't have a physical page somewhere.
Which is was 90%. By lines changed most actually is the diffs for
the cache flushing.
> Would it make sense to split this patch set into a few bits: one to
> drop all the useless BUG_ON()s, one to convert all the open coded
> stuff to accessor functions, then another to do the actual page-less
> sg stuff?
Without the ifs the BUG_ON() actually are useful to assert we
never feed the sort of physical addresses we can't otherwise support,
so I don't think that part is doable.
A simple series to make more use of sg_phys and add sg_pfn might
still be useful, though.
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]