login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
23
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for nommu
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
[view in full thread]
From: graff yang
Subject:
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for nommu
Date: Monday, March 22, 2010 - 7:33 pm
On Mon, Mar 22, 2010 at 7:50 PM, David Howells <dhowells@redhat.com> wrote:
quoted text
> <graff.yang@gmail.com> wrote: > >> - return virt_to_page(addr); >> + return (struct page *) >> + (virt_to_page(addr)->index) ? : virt_to_page(addr); > > Can the extra conditional operator be made subject to CONFIG_SMP?
OK. Tejun is looking into the up layer percpu code. So I expecting there is better way to hook nommu in.
quoted text
> >> - return page_to_pfn(virt_to_page(addr)); >> + return page_to_pfn((struct page *) >> + (virt_to_page(addr)->index) ? : virt_to_page(addr)); > > Ditto. > >> +#ifdef CONFIG_SMP >> ... >> +#endif > > Can this be put into a separate file? There's rather a lot in mm/nommu.c > these days. > > David >
-- -Graff --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
Messages in current thread:
[PATCH] mm/nommu.c:Dynamic alloc/free percpu area for nommu
, graff.yang
, (Fri Mar 19, 2:02 am)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, Tejun Heo
, (Fri Mar 19, 9:06 pm)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, graff yang
, (Sun Mar 21, 7:33 pm)
RE: [Uclinux-dist-devel] [PATCH] mm/nommu.c:Dynamic alloc/ ...
, Zhang, Sonic
, (Sun Mar 21, 9:14 pm)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, David Howells
, (Mon Mar 22, 4:50 am)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, graff yang
, (Mon Mar 22, 7:33 pm)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, Tejun Heo
, (Thu Apr 1, 3:20 am)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, Sonic Zhang
, (Tue Apr 6, 2:28 am)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, Tejun Heo
, (Wed Apr 7, 7:43 pm)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, Sonic Zhang
, (Thu Apr 8, 2:40 am)
Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for ...
, Tejun Heo
, (Thu Apr 8, 4:33 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Hugh Dickins
Re: Linux 2.6.26-rc1 - pgtable_32.c:178 pmd_bad
Bernhard Beck
[PATCH 001/001] usb-serial: Add ThinkOptics WavIT
Oleg Nesterov
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed
Greg KH
[patch 07/21] rtc-pcf8563: detect polarity of century bit automatically
git
:
Jonathan del Strother
Re: [PATCH] Fixing path quoting issues
Gerrit Pape
[PATCH] fix skipping merge-order test with NO_OPENSSL=1.
Linus Torvalds
Re: Implementing branch attributes in git config
Johannes Schindelin
Re: Trying to use git-filter-branch to compress history by removing large, obsolet...
Gerrit Pape
[PATCH] hooks--update: fix test for properly set up project description file
linux-netdev
:
David Miller
Re: [PATCH 04/15] tg3: Preserve LAA when device control is released
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Sven Wegener
[PATCH] ipvs: Add missing locking during connection table hashing and unhashing
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
Stephen Hemminger
[PATCH 2/2] sky2: fix transmit state on resume
git-commits-head
:
Linux Kernel Mailing List
[SCSI] scsi ioctl: fix kernel-doc warning
Linux Kernel Mailing List
ALSA: HDA - Correct trivial typos in comments.
Linux Kernel Mailing List
i2c-viapro: Add support for SMBus Process Call transactions
Linux Kernel Mailing List
i2c: Documentation: upgrading clients HOWTO
Linux Kernel Mailing List
[PATCH] fix sysctl_nr_open bugs
openbsd-misc
:
Die Gestalt
Re: How to re-build openssl with SHA1 support?
Edwin Eyan Moragas
Re: managing routes for multiple PPPoE connections
Brian Candler
Re: OBSD's perspective on SELinux
Jonathan Schleifer
Why is getaddrinfo breaking POSIX?
Predrag Punosevac
Re: Kernel developers guide/tutorial
Colocation donated by:
Syndicate