Re: + swap-migration-v5-lru-operations-tweaks.patch added to -mm tree

From: Coywolf Qi Hunt (coywolf_at_gmail.com)
Date: 11/07/05

  • Next message: Coywolf Qi Hunt: "Re: + readahead-commentary.patch added to -mm tree"
    Date:	Mon, 7 Nov 2005 13:15:57 +0800
    To: linux-kernel@vger.kernel.org
    
    

    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/
    -
    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/
    

  • Next message: Coywolf Qi Hunt: "Re: + readahead-commentary.patch added to -mm tree"

    Relevant Pages

    • [RFC] cleanup of use-once
      ... the basic idea is that we want to ignore multiple references to the ... void fastcall mark_page_accessed ... static inline int is_page_cache_freeable ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Large-FAT32-Filesystem Bug
      ... | Humm, I'd argue that point, mine (Olympus C-3020) does a datestamp ... | right in the filename, making it very easy to pick out the pix you ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Device-backed loop broken in 2.6.0-test2?
      ... doh. ... We end up calling writepage() with PF_READAHEAD set and the block layer ... -static inline int ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: mode data=journal in ext3. Is it safe to use?
      ... If the system crashes at any time you are guaranteed that the old filename ... the old filename directly you wouldn't be guaranteed to have valid data ... Andreas Dilger ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Whats wrong with this really simple function?
      ... > I have created this 5-liner system call, which basically opens a ... module_param_string(filename, filename, sizeof(filename), 666); ... static void __exit mod_exit ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)