[patch 00/49] 2.6.27.5 stable review - Kernel

This is a discussion on [patch 00/49] 2.6.27.5 stable review - Kernel ; 2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Rafael J. Wysocki commit c5d712433ff57a66d8fb79a57a4fc7a7c3467b97 upstream Fix the __pfn_to_page(pfn) macro so that it doesn't evaluate its argument twice in the CONFIG_DISCONTIGMEM=y case, because 'pfn' may be ...

+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 41 to 43 of 43

Thread: [patch 00/49] 2.6.27.5 stable review

  1. [patch 44/49] Fix __pfn_to_page(pfn) for CONFIG_DISCONTIGMEM=y

    2.6.27-stable review patch. If anyone has any objections, please let us know.

    ------------------

    From: Rafael J. Wysocki

    commit c5d712433ff57a66d8fb79a57a4fc7a7c3467b97 upstream

    Fix the __pfn_to_page(pfn) macro so that it doesn't evaluate its
    argument twice in the CONFIG_DISCONTIGMEM=y case, because 'pfn' may
    be a result of a funtion call having side effects.

    For example, the hibernation code applies pfn_to_page(pfn) to the
    result of a function returning the pfn corresponding to the next set
    bit in a bitmap and the current bit position is modified on each
    call. This leads to "interesting" failures for CONFIG_DISCONTIGMEM=y
    due to the current behavior of __pfn_to_page(pfn).

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Pavel Machek
    Signed-off-by: Linus Torvalds
    Signed-off-by: Greg Kroah-Hartman

    ---
    include/asm-generic/memory_model.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/include/asm-generic/memory_model.h
    +++ b/include/asm-generic/memory_model.h
    @@ -34,7 +34,7 @@

    #define __pfn_to_page(pfn) \
    ({ unsigned long __pfn = (pfn); \
    - unsigned long __nid = arch_pfn_to_nid(pfn); \
    + unsigned long __nid = arch_pfn_to_nid(__pfn); \
    NODE_DATA(__nid)->node_mem_map + arch_local_page_offset(__pfn, __nid);\
    })


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

  2. Re: [patch 00/49] 2.6.27.5 stable review

    On Tue, Nov 11, 2008 at 04:22:15PM -0800, Greg KH wrote:
    > This is the start of the stable review cycle for the 2.6.27.5 release.


    Greg, this should be 2.6.27.6 !

    > The whole patch series can be found in one patch at:
    > kernel.org/pub/linux/kernel/v2.6/stable-review/patch-2.6.27.5-rc1.gz


    Same here.

    Regards,
    Willy

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

  3. Re: [patch 00/49] 2.6.27.5 stable review

    On Wed, Nov 12, 2008 at 01:44:37AM +0100, Gabriel C wrote:
    > Greg KH wrote:
    >
    > > This is the start of the stable review cycle for the 2.6.27.5 release.
    > > There are 49 patches in this series, all will be posted as a response to
    > > this one.

    >
    >
    > Hmm , again 2.6.27.5 ? I guess you mean 2.6.27.6 ?


    Oh crap.

    I did all of this on an older git tree that was based on 2.6.27.4. So
    it was really 2.6.27.5 I was working with...

    I've updated the patch now, the hfsplus patches were already in 2.6.27.5
    so they dropped out. It can be found as patch-2.6.27.6-rc1.gz in the
    same location, with the diffstat below.

    Sorry for the confusion, this release was tough to get out as it kept
    crashing my boxes until I got all of the needed fixes added.

    It's time for a beer...

    greg k-h

    -------------------

    Documentation/cciss.txt | 2
    Makefile | 2
    arch/arm/mach-pxa/include/mach/reset.h | 9 +
    arch/arm/mach-pxa/reset.c | 9 +
    arch/arm/mach-pxa/spitz.c | 2
    arch/arm/mach-pxa/tosa.c | 2
    arch/arm/mm/cache-xsc3l2.c | 4
    arch/x86/Kconfig | 20 ++++
    arch/x86/kernel/setup.c | 41 ++++++++
    arch/x86/kernel/tsc.c | 8 -
    drivers/acpi/dock.c | 5 -
    drivers/ata/libata-eh.c | 21 ++--
    drivers/block/cciss.c | 28 +++++
    drivers/block/cpqarray.c | 7 +
    drivers/dca/dca-core.c | 2
    drivers/dma/ioat_dma.c | 11 +-
    drivers/dma/iovlock.c | 17 +--
    drivers/hid/hidraw.c | 2
    drivers/md/linear.c | 2
    drivers/md/raid10.c | 2
    drivers/mmc/core/core.c | 6 +
    drivers/mtd/chips/cfi_cmdset_0002.c | 13 --
    drivers/mtd/chips/jedec_probe.c | 10 --
    drivers/net/r8169.c | 134 ++++++++++++++--------------
    drivers/net/wireless/iwlwifi/iwl-5000-hw.h | 7 +
    drivers/net/wireless/iwlwifi/iwl-5000.c | 63 +------------
    drivers/net/wireless/iwlwifi/iwl-agn.c | 57 ++++++++---
    drivers/net/wireless/iwlwifi/iwl-calib.c | 60 ++++++++++++
    drivers/net/wireless/iwlwifi/iwl-core.c | 27 +----
    drivers/net/wireless/iwlwifi/iwl-core.h | 8 +
    drivers/net/wireless/iwlwifi/iwl-dev.h | 15 +--
    drivers/net/wireless/iwlwifi/iwl-power.c | 39 +++++++-
    drivers/net/wireless/iwlwifi/iwl-power.h | 4
    drivers/net/wireless/iwlwifi/iwl-scan.c | 8 -
    drivers/net/wireless/iwlwifi/iwl3945-base.c | 7 +
    drivers/net/wireless/zd1211rw/zd_usb.c | 2
    fs/ext3/super.c | 11 +-
    fs/hfs/catalog.c | 4
    fs/jffs2/background.c | 10 +-
    fs/jffs2/compr_lzo.c | 15 +--
    include/asm-generic/memory_model.h | 2
    include/linux/mtd/cfi.h | 22 +++-
    include/net/af_unix.h | 1
    kernel/cgroup.c | 1
    mm/hugetlb.c | 49 +++++++++-
    mm/internal.h | 29 ++++++
    mm/page_alloc.c | 28 ++++-
    net/unix/af_unix.c | 31 +++++-
    net/unix/garbage.c | 49 +++++++---
    security/keys/internal.h | 1
    security/keys/process_keys.c | 2
    security/keys/request_key.c | 4
    sound/pci/hda/patch_sigmatel.c | 15 +--
    53 files changed, 630 insertions(+), 300 deletions(-)

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

+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3