Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1206861

Re: [PATCH 31/31] dma-mapping-common: skip kmemleak checks for page-less SG entries

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [PATCH 31/31] dma-mapping-common: skip kmemleak checks for page-less SG entries
Date 2015-08-13 16:40 +0200
Message-ID <pX1PH-652-3@gated-at.bofh.it> (permalink)
References <pWykF-5Aj-9@gated-at.bofh.it> <pWyum-5LM-29@gated-at.bofh.it> <pWGLh-Uh-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 12, 2015 at 09:05:15AM -0700, Linus Torvalds wrote:
> [ Again, I'm responding to one random patch - this pattern was in
> other patches too.  ]
> 
> A question: do we actually expect to mix page-less and pageful SG
> entries in the same SG list?
> 
> How does that happen?

Both for DAX and the video buffer case people could do direct I/O
spanning the boundary between such a VMA and a normal one unless
we add special code to prevent that.  Right now I don't think it's
all that useful, but then again it doesn't seem harmful either
and adding those checks might add up.
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 31/31] dma-mapping-common: skip kmemleak checks for page-less SG entries Christoph Hellwig <hch@lst.de> - 2015-08-12 09:20 +0200
  Re: [PATCH 31/31] dma-mapping-common: skip kmemleak checks for  page-less SG entries Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-12 18:10 +0200
    Re: [PATCH 31/31] dma-mapping-common: skip kmemleak checks for  page-less SG entries Christoph Hellwig <hch@lst.de> - 2015-08-13 16:40 +0200
  Re: [PATCH 31/31] dma-mapping-common: skip kmemleak checks for  page-less SG entries Catalin Marinas <catalin.marinas@gmail.com> - 2015-08-12 18:30 +0200

csiph-web