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


Groups > linux.kernel > #1526153

Re: [PATCH 3.16 327/346] mm: workingset: fix crash in shadow node shrinker caused by replace_page_cache_page()

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH 3.16 327/346] mm: workingset: fix crash in shadow node shrinker caused by replace_page_cache_page()
Date 2016-11-20 02:20 +0100
Message-ID <sFoXv-4gp-5@gated-at.bofh.it> (permalink)
References <sDeSC-o3-5@gated-at.bofh.it> <sDg83-1g5-75@gated-at.bofh.it> <sDrGb-p6-73@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 2016-11-14 at 10:42 -0500, Johannes Weiner wrote:
> On Mon, Nov 14, 2016 at 12:14:20AM +0000, Ben Hutchings wrote:
> > 3.16.39-rc1 review patch.  If anyone has any objections, please let me know.
> > 
> > ------------------
> > 
> > From: Johannes Weiner <hannes@cmpxchg.org>
> > 
> > commit 22f2ac51b6d643666f4db093f13144f773ff3f3a upstream.
[...]
> The added sanity checks in this patch can crash kernels built with
> CONFIG_DEBUG_VM. While I doubt many people run 3.16 with that enabled,
> please also consider taking the following two changes. The first one
> changes the new VM_BUG_ONs to mere warnings, and the second patch
> addresses the underlying issue that triggered them in the first place.
> 
> 21f54ddae449 Using BUG_ON() as an assert() is _never_ acceptable
> d3798ae8c6f3 mm: filemap: don't plant shadow entries without radix tree node
> 
> Attaching the latter below, since it's drastically different than the
> upstream change, but a lot simpler because it predates the DAX stuff.
[...]

Thanks, I've added these two.

Ben.

-- 
Ben Hutchings
Lowery's Law:
             If it jams, force it. If it breaks, it needed replacing
anyway.

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


Thread

[PATCH 3.16 327/346] mm: workingset: fix crash in shadow node  shrinker caused by replace_page_cache_page() Ben Hutchings <ben@decadent.org.uk> - 2016-11-14 04:30 +0100
  Re: [PATCH 3.16 327/346] mm: workingset: fix crash in shadow node  shrinker caused by replace_page_cache_page() Johannes Weiner <hannes@cmpxchg.org> - 2016-11-14 16:50 +0100
    Re: [PATCH 3.16 327/346] mm: workingset: fix crash in shadow node  shrinker caused by replace_page_cache_page() Ben Hutchings <ben@decadent.org.uk> - 2016-11-20 02:20 +0100

csiph-web