From: Jan Kara <jack@suse.cz> To: Andrew Morton <akpm@linux-foundation.org> Cc: Jan Kara <jack@suse.cz>, linux-mm@kvack.org, mhocko@suse.cz, Mel Gorman <mgorman@suse.de> Subject: Re: [PATCH 6/6] mm: migrate: Drop unused argument of migrate_page_move_mapping() Date: Mon, 17 Dec 2018 14:17:10 +0100 [thread overview] Message-ID: <20181217131710.GB8611@quack2.suse.cz> (raw) In-Reply-To: <20181213161746.GB27517@quack2.suse.cz> [-- Attachment #1: Type: text/plain, Size: 608 bytes --] On Thu 13-12-18 17:17:46, Jan Kara wrote: > On Thu 13-12-18 15:35:43, Mel Gorman wrote: > > On Tue, Dec 11, 2018 at 06:21:43PM +0100, Jan Kara wrote: > > > All callers of migrate_page_move_mapping() now pass NULL for 'head' > > > argument. Drop it. > > > > > > Signed-off-by: Jan Kara <jack@suse.cz> > > > > Acked-by: Mel Gorman <mgorman@suse.de> > > Thanks for review Mel! Andrew, can you please pick up the series? Thanks! Andrew, Mel has spotted a bug in patch 1/6 or this series. Can you please add the attached fixup to the patch 1? Thanks! Honza -- Jan Kara <jack@suse.com> SUSE Labs, CR [-- Attachment #2: migratepage-fixup.patch --] [-- Type: text/x-patch, Size: 435 bytes --] diff --git a/mm/migrate.c b/mm/migrate.c index 789c7bc90a0c..816ce10e908f 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -438,7 +438,7 @@ static int expected_page_refs(struct page *page) */ expected_count += is_device_private_page(page); expected_count += is_device_public_page(page); - if (page->mapping) + if (page_mapping(page)) expected_count += hpage_nr_pages(page) + page_has_private(page); return expected_count;
prev parent reply other threads:[~2018-12-17 13:17 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-11 17:21 mm: migrate: Fix page migration stalls for blkdev pages Jan Kara 2018-12-11 17:21 ` [PATCH 1/6] mm: migration: Factor out code to compute expected number of page references Jan Kara 2018-12-13 13:05 ` Mel Gorman 2018-12-14 15:10 ` Mel Gorman 2018-12-14 15:53 ` Jan Kara 2018-12-14 16:24 ` Mel Gorman 2018-12-17 13:11 ` Jan Kara 2018-12-11 17:21 ` [PATCH 2/6] mm: migrate: Lock buffers before migrate_page_move_mapping() Jan Kara 2018-12-13 14:19 ` Mel Gorman 2018-12-11 17:21 ` [PATCH 3/6] mm: migrate: Move migrate_page_lock_buffers() Jan Kara 2018-12-13 14:57 ` Mel Gorman 2018-12-11 17:21 ` [PATCH 4/6] mm: migrate: Provide buffer_migrate_page_norefs() Jan Kara 2018-12-13 15:34 ` Mel Gorman 2018-12-14 4:53 ` Andrew Morton 2018-12-14 9:26 ` Jan Kara 2018-12-11 17:21 ` [PATCH 5/6] blkdev: Avoid migration stalls for blkdev pages Jan Kara 2018-12-13 15:35 ` Mel Gorman 2018-12-11 17:21 ` [PATCH 6/6] mm: migrate: Drop unused argument of migrate_page_move_mapping() Jan Kara 2018-12-13 15:35 ` Mel Gorman 2018-12-13 16:17 ` Jan Kara 2018-12-17 13:17 ` Jan Kara [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20181217131710.GB8611@quack2.suse.cz \ --to=jack@suse.cz \ --cc=akpm@linux-foundation.org \ --cc=linux-mm@kvack.org \ --cc=mgorman@suse.de \ --cc=mhocko@suse.cz \ --subject='Re: [PATCH 6/6] mm: migrate: Drop unused argument of migrate_page_move_mapping()' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.