[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z-vvdrpr-MnkpH7d@localhost.localdomain>
Date: Tue, 1 Apr 2025 15:51:50 +0200
From: Oscar Salvador <osalvador@...e.de>
To: Baoquan He <bhe@...hat.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, yanjun.zhu@...ux.dev
Subject: Re: [PATCH v2 3/7] mm/gup: Fix the outdated code comments above
get_user_pages_unlocked()
On Mon, Mar 31, 2025 at 04:13:23PM +0800, Baoquan He wrote:
> Since commit f0818f472d8d ("mm: gup: add get_user_pages_locked
> and get_user_pages_unlocked"), get_user_pages() doesn't need to have
> mmap_lock held anymore. It calls __get_user_pages_locked() which
> can acquire and drop the mmap_lock internaly.
>
> Hence remove the incorrect code comments now.
Uhm, I think this one should be dropped according to
https://lore.kernel.org/linux-mm/20250330121718.175815-4-bhe@redhat.com/T/#m1aa161016ab98a6d85bcb657a729e01cb98763ec
?
--
Oscar Salvador
SUSE Labs
Powered by blists - more mailing lists