All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mikulas Patocka <mpatocka@redhat.com>
To: Mike Snitzer <msnitzer@redhat.com>
Cc: dm-devel@redhat.com
Subject: [dm-devel] [PATCH 1/2] mm: export is_vmalloc_or_module_addr
Date: Mon, 5 Sep 2022 11:21:40 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LRH.2.02.2209051120510.8614@file01.intranet.prod.int.rdu2.redhat.com> (raw)

Export is_vmalloc_or_module_addr - we will need it in device mapper to
determine if the error string is statically or dynamically allocated.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>

---
 mm/vmalloc.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-dm/mm/vmalloc.c
===================================================================
--- linux-dm.orig/mm/vmalloc.c	2022-09-05 13:29:57.000000000 +0200
+++ linux-dm/mm/vmalloc.c	2022-09-05 14:30:51.000000000 +0200
@@ -637,6 +637,7 @@ int is_vmalloc_or_module_addr(const void
 #endif
 	return is_vmalloc_addr(x);
 }
+EXPORT_SYMBOL(is_vmalloc_or_module_addr);
 
 /*
  * Walk a vmap address to the struct page it maps. Huge vmap mappings will
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


                 reply	other threads:[~2022-09-05 15:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.LRH.2.02.2209051120510.8614@file01.intranet.prod.int.rdu2.redhat.com \
    --to=mpatocka@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=msnitzer@redhat.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 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.