login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
12
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrea Righi
Subject:
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
Date: Thursday, June 12, 2008 - 2:12 am
Andrew Morton wrote:
quoted text
>> --- a/include/linux/mm.h >> +++ b/include/linux/mm.h >> @@ -9,6 +9,7 @@ >> #include <linux/list.h> >> #include <linux/mmzone.h> >> #include <linux/rbtree.h> >> +#include <linux/kernel.h> >> #include <linux/prio_tree.h> >> #include <linux/debug_locks.h> >> #include <linux/mm_types.h> >> @@ -41,6 +42,9 @@ extern unsigned long mmap_min_addr; >> >> #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) >> >> +/* to align the pointer to the (next) page boundary */ >> +#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) >> + >> /* >> * Linux kernel virtual memory manager primitives. >> * The idea being to have a "virtual" mm in the same way > > You don't really need the #include <linux/kernel.h> there. As long as > all callsites which _use_ PAGE_ALIGN are including kernel.h via some > means (and they surely will be) then things will work OK.
OK, testing without linux/kernel.h inclusion. -Andrea
quoted text
> > But it won't hurt. We're already picking up kernel.h there via > mmzone.h->spinlock.h and probably 100 other routes. One more won't > make a lot of difference ;)
--
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:
[-mm][PATCH 0/4] Add memrlimit controller (v5)
, Balbir Singh
, (Wed May 21, 8:29 am)
[-mm][PATCH 1/4] Add memrlimit controller documentation (v5)
, Balbir Singh
, (Wed May 21, 8:29 am)
[-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Balbir Singh
, (Wed May 21, 8:29 am)
[-mm][PATCH 3/4] cgroup mm owner callback changes to add t ...
, Balbir Singh
, (Wed May 21, 8:29 am)
[-mm][PATCH 4/4] Add memrlimit controller accounting and c ...
, Balbir Singh
, (Wed May 21, 8:30 am)
Re: [-mm][PATCH 4/4] Add memrlimit controller accounting a ...
, Vivek Goyal
, (Wed May 21, 10:20 am)
Re: [-mm][PATCH 1/4] Add memrlimit controller documentatio ...
, Andrew Morton
, (Wed May 21, 9:16 pm)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrew Morton
, (Wed May 21, 9:18 pm)
Re: [-mm][PATCH 3/4] cgroup mm owner callback changes to a ...
, Andrew Morton
, (Wed May 21, 9:19 pm)
Re: [-mm][PATCH 4/4] Add memrlimit controller accounting a ...
, Andrew Morton
, (Wed May 21, 9:24 pm)
Re: [-mm][PATCH 4/4] Add memrlimit controller accounting a ...
, Balbir Singh
, (Wed May 21, 9:41 pm)
Re: [-mm][PATCH 1/4] Add memrlimit controller documentatio ...
, Balbir Singh
, (Thu May 22, 3:13 am)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Balbir Singh
, (Thu May 22, 3:14 am)
Re: [-mm][PATCH 3/4] cgroup mm owner callback changes to a ...
, Balbir Singh
, (Thu May 22, 3:14 am)
Re: [-mm][PATCH 4/4] Add memrlimit controller accounting a ...
, Balbir Singh
, (Thu May 22, 3:15 am)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrea Righi
, (Wed Jun 11, 10:10 am)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Balbir Singh
, (Wed Jun 11, 10:33 am)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrea Righi
, (Wed Jun 11, 11:48 am)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrew Morton
, (Wed Jun 11, 12:15 pm)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrea Righi
, (Wed Jun 11, 1:17 pm)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrew Morton
, (Wed Jun 11, 1:43 pm)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrea Righi
, (Wed Jun 11, 3:47 pm)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrew Morton
, (Wed Jun 11, 3:55 pm)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrea Righi
, (Wed Jun 11, 4:04 pm)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Balbir Singh
, (Wed Jun 11, 11:13 pm)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrea Righi
, (Thu Jun 12, 1:52 am)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrew Morton
, (Thu Jun 12, 2:02 am)
Re: [-mm][PATCH 2/4] Setup the memrlimit controller (v5)
, Andrea Righi
, (Thu Jun 12, 2:12 am)
[PATCH -mm] PAGE_ALIGN(): correctly handle 64-bit values o ...
, Andrea Righi
, (Thu Jun 12, 10:02 am)
Re: [PATCH -mm] PAGE_ALIGN(): correctly handle 64-bit valu ...
, Andrea Righi
, (Thu Jun 12, 3:14 pm)
Re: [PATCH -mm] PAGE_ALIGN(): correctly handle 64-bit valu ...
, Balbir Singh
, (Fri Jun 13, 2:37 am)
Re: [PATCH -mm] PAGE_ALIGN(): correctly handle 64-bit valu ...
, Li Zefan
, (Fri Jun 13, 2:45 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Paul E. McKenney
Rafael J. Wysocki
[Bug #11287] Regression in 2.6.27-rc2 in acpi_processor_init()
Ingo Molnar
Re: [GIT PULL] time.c - respin
Robin Holt
Re: Linux 2.6.26-rc1
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Nicolas Pitre
[PATCH] diff: don't presume empty file when corresponding object is missing
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Mike Frysinger
Re: bridge netpoll support: mismatch between net core and bridge headers
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Guido Tschakert
Re: what exactly is enc0?
Colocation donated by:
Syndicate