linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Vishal Moola (Oracle)" <vishal.moola@gmail.com>
To: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org,
	Vivek Kasireddy <vivek.kasireddy@intel.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	"Vishal Moola (Oracle)" <vishal.moola@gmail.com>
Subject: [PATCH 0/2] mm/gup: Cleanup memfd_pin_folios()
Date: Tue, 29 Apr 2025 18:00:57 -0700	[thread overview]
Message-ID: <20250430010059.892632-1-vishal.moola@gmail.com> (raw)

A couple straightforward cleanups to memfd_pin_folios() found through
code inspection. Saves 124 bytes of kernel text overall and makes the
code more readable.

Vishal Moola (Oracle) (2):
  mm/gup: Remove unnecessary check in memfd_pin_folios()
  mm/gup: Remove page_folio() in memfd_pin_folios()

 mm/gup.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

-- 
2.49.0



             reply	other threads:[~2025-04-30  1:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-30  1:00 Vishal Moola (Oracle) [this message]
2025-04-30  1:00 ` [PATCH 1/2] mm/gup: Remove unnecessary check in memfd_pin_folios() Vishal Moola (Oracle)
2025-04-30 21:48   ` David Hildenbrand
2025-05-01 21:23   ` Kasireddy, Vivek
2025-04-30  1:00 ` [PATCH 2/2] mm/gup: Remove page_folio() " Vishal Moola (Oracle)
2025-04-30 21:49   ` David Hildenbrand
2025-05-01 21:23   ` Kasireddy, Vivek

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=20250430010059.892632-1-vishal.moola@gmail.com \
    --to=vishal.moola@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=vivek.kasireddy@intel.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).