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


Groups > linux.kernel > #1566453

Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone
Date 2017-01-25 11:30 +0100
Message-ID <t3sZX-wo-1@gated-at.bofh.it> (permalink)
References (2 earlier) <t1jo6-10B-9@gated-at.bofh.it> <t1kNc-203-21@gated-at.bofh.it> <t1IcN-8iP-15@gated-at.bofh.it> <t1YAV-1jJ-7@gated-at.bofh.it> <t3sQh-sW-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 25, 2017 at 11:15:17AM +0100, Michal Hocko wrote:
> I think we are missing a check for fatal_signal_pending in
> iomap_file_buffered_write. This means that an oom victim can consume the
> full memory reserves. What do you think about the following? I haven't
> tested this but it mimics generic_perform_write so I guess it should
> work.

Hi Michal,

this looks reasonable to me.  But we have a few more such loops,
maybe it makes sense to move the check into iomap_apply?

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


Thread

[RFC PATCH 0/2] fix unbounded too_many_isolated Michal Hocko <mhocko@kernel.org> - 2017-01-18 15:00 +0100
  [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone Michal Hocko <mhocko@kernel.org> - 2017-01-18 15:00 +0100
    Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Mel Gorman <mgorman@suse.de> - 2017-01-18 15:50 +0100
      Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-18 16:20 +0100
        Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Mel Gorman <mgorman@suse.de> - 2017-01-18 17:00 +0100
          Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-18 17:20 +0100
            Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Mel Gorman <mgorman@suse.de> - 2017-01-18 18:10 +0100
              Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-18 18:30 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Mel Gorman <mgorman@suse.de> - 2017-01-19 11:10 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-19 12:50 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Mel Gorman <mgorman@suse.de> - 2017-01-19 14:20 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-01-20 15:20 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-01-21 08:50 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-25 11:20 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated         pages per zone Christoph Hellwig <hch@lst.de> - 2017-01-25 11:30 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-25 11:50 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-01-25 12:20 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-25 14:10 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-27 16:00 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-01-28 18:20 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-30 10:00 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pagesper zone Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-01-25 11:40 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated  pagesper zone Michal Hocko <mhocko@kernel.org> - 2017-01-25 13:40 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-01-25 14:20 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Michal Hocko <mhocko@kernel.org> - 2017-01-25 11:00 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2017-01-20 07:50 +0100
                Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages  per zone Mel Gorman <mgorman@suse.de> - 2017-01-20 10:30 +0100

csiph-web