* Re: + swap-migration-v5-lru-operations-tweaks.patch added to -mm tree
[not found] <200511010521.jA15Lpsm016996@shell0.pdx.osdl.net>
@ 2005-11-07 5:15 ` Coywolf Qi Hunt
2005-11-07 6:17 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Coywolf Qi Hunt @ 2005-11-07 5:15 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm, clameter
2005/11/1, akpm@osdl.org <akpm@osdl.org>:
>
> The patch titled
>
> swap-migration-v5-lru-operations-tweaks
>
> has been added to the -mm tree. Its filename is
>
> swap-migration-v5-lru-operations-tweaks.patch
>
>
> From: Andrew Morton <akpm@osdl.org>
>
> Cc: Christoph Lameter <clameter@sgi.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> include/linux/mm_inline.h | 4 +---
> mm/vmscan.c | 6 +++---
> 2 files changed, 4 insertions(+), 6 deletions(-)
>
> diff -puN include/linux/mm_inline.h~swap-migration-v5-lru-operations-tweaks include/linux/mm_inline.h
> --- devel/include/linux/mm_inline.h~swap-migration-v5-lru-operations-tweaks 2005-10-31 21:21:48.000000000 -0800
> +++ devel-akpm/include/linux/mm_inline.h 2005-10-31 21:21:48.000000000 -0800
> @@ -44,8 +44,7 @@ del_page_from_lru(struct zone *zone, str
> *
> * - zone->lru_lock must be held
> */
> -static inline int
> -__isolate_lru_page(struct zone *zone, struct page *page)
> +static inline int __isolate_lru_page(struct zone *zone, struct page *page)
> {
> if (TestClearPageLRU(page)) {
> if (get_page_testone(page)) {
My curiosity, why we do this when the former is friendly to grep? Any
coding style document about this?
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: + swap-migration-v5-lru-operations-tweaks.patch added to -mm tree
2005-11-07 5:15 ` + swap-migration-v5-lru-operations-tweaks.patch added to -mm tree Coywolf Qi Hunt
@ 2005-11-07 6:17 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-11-07 6:17 UTC (permalink / raw)
To: Coywolf Qi Hunt; +Cc: linux-kernel, clameter
Coywolf Qi Hunt <coywolf@gmail.com> wrote:
>
> 2005/11/1, akpm@osdl.org <akpm@osdl.org>:
> >
> > The patch titled
> >
> > swap-migration-v5-lru-operations-tweaks
> >
> > has been added to the -mm tree. Its filename is
> >
> > swap-migration-v5-lru-operations-tweaks.patch
> >
> >
> > From: Andrew Morton <akpm@osdl.org>
> >
> > Cc: Christoph Lameter <clameter@sgi.com>
> > Signed-off-by: Andrew Morton <akpm@osdl.org>
> > ---
> >
> > include/linux/mm_inline.h | 4 +---
> > mm/vmscan.c | 6 +++---
> > 2 files changed, 4 insertions(+), 6 deletions(-)
> >
> > diff -puN include/linux/mm_inline.h~swap-migration-v5-lru-operations-tweaks include/linux/mm_inline.h
> > --- devel/include/linux/mm_inline.h~swap-migration-v5-lru-operations-tweaks 2005-10-31 21:21:48.000000000 -0800
> > +++ devel-akpm/include/linux/mm_inline.h 2005-10-31 21:21:48.000000000 -0800
> > @@ -44,8 +44,7 @@ del_page_from_lru(struct zone *zone, str
> > *
> > * - zone->lru_lock must be held
> > */
> > -static inline int
> > -__isolate_lru_page(struct zone *zone, struct page *page)
> > +static inline int __isolate_lru_page(struct zone *zone, struct page *page)
> > {
> > if (TestClearPageLRU(page)) {
> > if (get_page_testone(page)) {
>
> My curiosity, why we do this when the former is friendly to grep?
It's easier to read.
> Any coding style document about this?
Dunno. I have a rude email from Linus here somewhere from when I used to
do it that way ;)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-07 6:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200511010521.jA15Lpsm016996@shell0.pdx.osdl.net>
2005-11-07 5:15 ` + swap-migration-v5-lru-operations-tweaks.patch added to -mm tree Coywolf Qi Hunt
2005-11-07 6:17 ` Andrew Morton
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.