linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] A long explanation for a short patch
@ 2014-03-14  2:30 john.hubbard
  2014-03-14  2:30 ` [PATCH] Change mm debug routines back to EXPORT_SYMBOL john.hubbard
  2014-03-14  4:36 ` [PATCH] A long explanation for a short patch Sasha Levin
  0 siblings, 2 replies; 8+ messages in thread
From: john.hubbard @ 2014-03-14  2:30 UTC (permalink / raw)
  To: Sasha Levin; +Cc: Kirill A. Shutemov, linux-mm, John Hubbard

From: John Hubbard <jhubbard@nvidia.com>

Hi Sasha and linux-mm,

Prior to commit 309381feaee564281c3d9e90fbca8963bb7428ad, it was
possible to build MIT-licensed (non-GPL) drivers on Fedora. Fedora is
semi-unique, in that it sets CONFIG_VM_DEBUG.

Because Fedora sets CONFIG_VM_DEBUG, they end up pulling in
dump_page(), via VM_BUG_ON_PAGE, via get_page().  As one of the
authors of NVIDIA's new, open source, "UVM-Lite" kernel module, I
originally choose to use the kernel's get_page() routine from within
nvidia_uvm_page_cache.c, because get_page() has always seemed to be
very clearly intended for use by non-GPL, driver code.

So I'm hoping that making get_page() widely accessible again will not
be too controversial. We did check with Fedora first, and they
responded (https://bugzilla.redhat.com/show_bug.cgi?id=1074710#c3)
that we should try to get upstream changed, before asking Fedora
to change.  Their reasoning seems beneficial to Linux: leaving
CONFIG_DEBUG_VM set allows Fedora to help catch mm bugs.

thanks,
John h

John Hubbard (1):
  Change mm debug routines back to EXPORT_SYMBOL

 mm/page_alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-04-01 23:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14  2:30 [PATCH] A long explanation for a short patch john.hubbard
2014-03-14  2:30 ` [PATCH] Change mm debug routines back to EXPORT_SYMBOL john.hubbard
2014-03-14  4:36 ` [PATCH] A long explanation for a short patch Sasha Levin
2014-03-14  4:47   ` John Hubbard
2014-03-14 13:42     ` Josh Boyer
2014-03-14 15:09       ` Sasha Levin
2014-03-14 16:53         ` Josh Boyer
2014-04-01 23:08           ` Andrew Morton

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).