[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z+wGSs6xo5Q3CnLF@MiWiFi-R3L-srv>
Date: Tue, 1 Apr 2025 23:29:14 +0800
From: Baoquan He <bhe@...hat.com>
To: Oscar Salvador <osalvador@...e.de>
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 04/01/25 at 03:51pm, Oscar Salvador wrote:
> 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
Yeah, this v2 series was sent earlier than your comment in v1. Sorry
about the mess.
>
> https://lore.kernel.org/linux-mm/20250330121718.175815-4-bhe@redhat.com/T/#m1aa161016ab98a6d85bcb657a729e01cb98763ec
>
> ?
>
>
> --
> Oscar Salvador
> SUSE Labs
>
Powered by blists - more mailing lists