Re: [PATCH] General purpose zeroed page slab

From: Adam Heath (doogie_at_debian.org)
Date: 10/15/04

  • Next message: Matt Mackall: "Re: [PATCH 4/4] move semaphore definitions to waitlock_types.h"
    Date:	Thu, 14 Oct 2004 18:36:47 -0500 (CDT)
    To: Andi Kleen <ak@suse.de>
    
    

    On Thu, 14 Oct 2004, Andi Kleen wrote:

    > Also that's pretty dumb. How about keeping track how much of the
    > page got non zeroed (e.g. by using a few free words in struct page
    > for a coarse grained dirty bitmap)
    >
    > Then you could memset on free only the parts that got actually
    > changed, and never waste cache lines for anything else.

    That will fail when a struct is placed in the page, and only the beginning and
    end of the struct was changed.

    -
    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: Matt Mackall: "Re: [PATCH 4/4] move semaphore definitions to waitlock_types.h"

    Relevant Pages

    • Re: [PATCH] General purpose zeroed page slab
      ... >> for a coarse grained dirty bitmap) ... > end of the struct was changed. ... The dirty bitmap would cover ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] rmap 26 __setup_arg_pages
      ... put_kernel_page (struct page *page, unsigned long address, pgprot_t pgprot) ... extern void compute_creds; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Generalize prio_tree (1/3)
      ... Hmm, GET_INDEX/get_index grows and grows, and also generates a ... And what if we took the hit and moved the key into struct ... half of the key is free (in terms of storage - the key updates ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch 8/8] PCI Error Recovery: PPC64 core recovery routines
      ... this file is a little ball of ugliness that resulted from moving ... I attempted to remove all of the pci-related stuff from this struct, ... related to the flattening of the device ndode tree. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: ioctls, etc. (was Re: [PATCH 1/4] sas: add flag for locally attached PHYs)
      ... a downplay that I didn't include the same thing in struct sas_ha_struct. ... The host template _mixes_ hw, scsi core, and protocol knowlege into ... libata isn't without architectural problems. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)