[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2012-03-11 Thread Skai Falkorr
*** This bug is a duplicate of bug 793702 ***
https://bugs.launchpad.net/bugs/793702

** This bug has been marked a duplicate of bug 793702
   Natty update to 2.6.38.8 stable release

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-08-18 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.38-11.48

---
linux (2.6.38-11.48) natty-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
- LP: #818175

  [ Upstream Kernel Changes ]

  * Revert HID: magicmouse: ignore 'ivalid report id' while switching
modes
- LP: #814250

linux (2.6.38-11.47) natty-proposed; urgency=low

  [Steve Conklin]

  * Release Tracking Bug
- LP: #811180

  [ Keng-Yu Lin ]

  * SAUCE: Revert: dell-laptop: Toggle the unsupported hardware
killswitch
- LP: #775281

  [ Ming Lei ]

  * SAUCE: fix yama_ptracer_del lockdep warning
- LP: #791019

  [ Stefan Bader ]

  * SAUCE: Re-enable RODATA for i386 virtual
- LP: #809838

  [ Tim Gardner ]

  * [Config] Add grub-efi as a recommended bootloader for server and
generic
- LP: #800910
  * SAUCE: rtl8192se: Force a build for a 2.6/3.0 kernel
- LP: #805494

  [ Upstream Kernel Changes ]

  * Revert bridge: Forward reserved group addresses if !STP
- LP: #793702
  * Fix up ABI directory
  * bonding: Incorrect TX queue offset, CVE-2011-1581
- LP: #792312
- CVE-2011-1581
  * fs/partitions/efi.c: corrupted GUID partition tables can cause kernel
oops
- LP: #795418
- CVE-2011-1577
  * usbnet/cdc_ncm: add missing .reset_resume hook
- LP: #793892
  * ath5k: Disable fast channel switching by default
- LP: #767192
  * mm: vmscan: correctly check if reclaimer should schedule during
shrink_slab
- LP: #755066
  * mm: vmscan: correct use of pgdat_balanced in sleeping_prematurely
- LP: #755066
  * ALSA: hda - Use LPIB for ATI/AMD chipsets as default
- LP: #741825
  * ALSA: hda - Enable snoop bit for AMD controllers
- LP: #741825
  * ALSA: hda - Enable sync_write workaround for AMD generically
- LP: #741825
  * cpuidle: menu: fixed wrapping timers at 4.294 seconds
- LP: #774947
  * drm/i915: Fix gen6 (SNB) missed BLT ring interrupts.
- LP: #761065
  * USB: ehci: remove structure packing from ehci_def
- LP: #791552
  * drm/i915: disable PCH ports if needed when disabling a CRTC
- LP: #791752
  * kmemleak: Do not return a pointer to an object that kmemleak did not
get
- LP: #793702
  * kmemleak: Initialise kmemleak after debug_objects_mem_init()
- LP: #793702
  * Fix _OSC UUID in pcc-cpufreq
- LP: #793702
  * CPU hotplug, re-create sysfs directory and symlinks
- LP: #793702
  * Fix memory leak in cpufreq_stat
- LP: #793702
  * net: recvmmsg: Strip MSG_WAITFORONE when calling recvmsg
- LP: #793702
  * ftrace: Only update the function code on write to filter files
- LP: #793702
  * qla2xxx: Fix hang during driver unload when vport is active.
- LP: #793702
  * qla2xxx: Fix virtual port failing to login after chip reset.
- LP: #793702
  * qla2xxx: Fix vport delete hang when logins are outstanding.
- LP: #793702
  * powerpc/kdump64: Don't reference freed memory as pacas
- LP: #793702
  * powerpc/kexec: Fix memory corruption from unallocated slaves
- LP: #793702
  * x86, cpufeature: Fix cpuid leaf 7 feature detection
- LP: #793702
  * ath9k_hw: do noise floor calibration only on required chains
- LP: #793702
  * ath9k_hw: fix power for the HT40 duplicate frames
- LP: #793702
  * ath9k_hw: fix dual band assumption for XB113
- LP: #793702
  * ath9k_hw: Fix STA connection issues with AR9380 (XB113).
- LP: #793702
  * powerpc: Set nr_cpu_ids early and use it to free PACAs
- LP: #793702
  * powerpc/oprofile: Handle events that raise an exception without
overflowing
- LP: #793702
  * iwlagn: fix iwl_is_any_associated
- LP: #793702
  * block: rescan partitions on invalidated devices on -ENOMEDIA too
- LP: #793702
  * block: move bd_set_size() above rescan_partitions() in __blkdev_get()
- LP: #793702
  * paride: Convert to bdops-check_events()
- LP: #793702
  * gdrom,viocd: Convert to bdops-check_events()
- LP: #793702
  * ide: Convert to bdops-check_events()
- LP: #793702
  * block: don't block events on excl write for non-optical devices
- LP: #793702
  * block: Fix discard topology stacking and reporting
- LP: #793702
  * block: add proper state guards to __elv_next_request
- LP: #793702
  * block: always allocate genhd-ev if check_events is implemented
- LP: #793702
  * mtd: mtdconcat: fix NAND OOB write
- LP: #793702
  * mtd: return badblockbits back
- LP: #793702
  * x86, 64-bit: Fix copy_[to/from]_user() checks for the userspace address
limit
- LP: #793702
  * ext4: fix possible use-after-free in ext4_remove_li_request()
- LP: #793702
  * iwlwifi: fix bugs in change_interface
- LP: #793702
  * nl80211: Fix set_key regression with some drivers
- LP: #793702
  * mac80211: fix a few RCU issues
- LP: #793702
  * wire up fanotify syscalls
- LP: #793702
  * wire up clock_adjtime syscall
- LP: #793702
  * drm: Send pending vblank events before disabling vblank.
   

[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-19 Thread Herton R. Krzesinski
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
natty' to 'verification-done-natty'.

If verification is not done by one week from today, this fix will be
dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!

Also would be good to have a formal SRU justification here.

** Tags added: verification-needed-natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-19 Thread Colin King
I've repeated the test scenario as described in comment #7 with 500 copy
operations using the script (see comment #7 too) to give it nearly 4
hours of intensive file copying soak testing.  Works fine, no lock-
ups/hangs.

Marking it as verified.


** Tags added: natty-verification-done
** Tags removed: verification-needed-natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-19 Thread Colin King
** Tags added: verification-done-natty
** Tags removed: natty-verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-19 Thread Tim Gardner
SRU Justification

Impact: Sandy Bridge platforms with a small normal zone can apparently
lockup when copying from a fast I/O source to a slower I/O destination,
e.g., disk to USB stick.

Patch Description: A number of upstream changes have made accommodation
for how pages are allocated when the normal zone is exhausted.

Patch: See the list of commits in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/comments/5

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-13 Thread Colin King
@Tim, managed to get some overnight testing on this kernel, results are
very good:

Did 1000 x test cycles, each copying ~795MB of data (~7 hours of soak
testing), no lock-ups on a SNB laptop with 4GB memory.  Also re-ran with
500 x test cycles with 2GB memory (as this *really* exercises the bug).
My test script (which contains portions of the ubiquity copying script
which originally tripped this bug) is attached.  Testing - run script to
copy data from one ext4 partition to another.

/dev/sda3, ext4, source, containing ~795MB of files from the Natty installer
/dev/sda4, ext4, destination

Summary: Exhaustive testing passed.



** Attachment added: Test script to exercise bug
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+attachment/2205312/+files/ubiquity.nousb.simple

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-13 Thread Andy Whitcroft
** Changed in: linux (Ubuntu Natty)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-12 Thread Colin King
@Tim,  Will do, however I will probably get around to this on Thursday
as I'm off on sick leave until then.  I have a good set of reproducer
scripts + H/W that can faithfully trigger the bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-11 Thread Tim Gardner
gregkh has declined Mel's patchset for 2.6.38.y as it is no longer
supported as a stable release.

** Package changed: linux-meta (Ubuntu) = linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-11 Thread Colin King
@Tim, does this invalid these patches for a SRU then? Or can we still
run with them?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-11 Thread Tim Gardner
Colin - We could still SRU theses for Natty, but I'd definitely need a
reproducer. I assume you have a reliable method for demonstrating the
problem?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-11 Thread David Nielsen
From the posting: The reproduction case is almost always during
copying large files that kswapd pegs at 100% CPU until the file is
deleted or cache is dropped. 

I believe I've seen this behaviour on earlier hardware than sandybridge,
I can trigger it with good reliability using abocks image-writer to
create a liveusb version of the GNOME3 isos (from gnome.org) however the
hardware is question unfortunately died recently. Any large file copy
operation should trigger it on sandybridge according to Mel though..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 808509] Re: SRU: Stop kswapd consuming 100% CPU when highest zone is small

2011-07-11 Thread Tim Gardner
Colin - In your copious spare time perhaps you could try building this
Natty master-next kernel and testing it on an SB:

The following changes since commit 006d932cf137dfcc156647dc08a0dda6e3e0f890:
  Tao Ma (1):
ext4: init timer earlier to avoid a kernel panic in __save_error_info, 
CVE-2011-2493

are available in the git repository at:

  git://kernel.ubuntu.com/rtg/ubuntu-natty.git lp808509-kswapd

Mel Gorman (5):
  mm: vmscan: correct check for kswapd sleeping in sleeping_prematurely
  mm: vmscan: kswapd should not free an excessive number of pages when 
balancing small zones
  mm: vmscan: do not apply pressure to slab if we are not applying pressure 
to zone
  mm: vmscan: evaluate the watermarks against the correct classzone
  mm: vmscan: only read new_classzone_idx from pgdat when reclaiming 
successfully

 include/linux/swap.h |9 ++
 mm/vmscan.c  |   75 --
 2 files changed, 57 insertions(+), 27 deletions(-)

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2011-2493

** Also affects: linux (Ubuntu Natty)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Oneiric)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Oneiric)
   Status: New = Fix Released

** Changed in: linux (Ubuntu Natty)
   Status: New = In Progress

** Changed in: linux (Ubuntu Natty)
 Assignee: (unassigned) = Tim Gardner (timg-tpi)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808509

Title:
  SRU: Stop kswapd consuming 100% CPU when highest zone is small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/808509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs