[ANNOUNCE] Git v1.7.11.3

2012-07-22 Thread Junio C Hamano
The latest maintenance release Git v1.7.11.3 is now available at the usual places. The release tarballs are found at: http://code.google.com/p/git-core/downloads/list and their SHA-1 checksums are: a10c420e4d9152d6059f41825904cfac3062b135 git-1.7.11.3.tar.gz 41500708e87787d6139de413c4da916

Re: [PATCH] workqueue: fix spurious CPU locality WARN from process_one_work()

2012-07-22 Thread Paul E. McKenney
On Sun, Jul 22, 2012 at 09:43:27AM -0700, Tejun Heo wrote: > 25511a4776 "workqueue: reimplement CPU online rebinding to handle idle > workers" added CPU locality sanity check in process_one_work(). It > triggers if a worker is executing on a different CPU without UNBOUND > or REBIND set. > > This

[GIT PULL] MMC updates for 3.6-rc1

2012-07-22 Thread Chris Ball
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git tags/mmc-merge-for-3.6-rc1 to receive the MMC merge for 3.6. The patches have been tested in linux-next, and there are currently no merge conflicts. Thanks. The following changes since commit 623b51fc864

[PATCH] [timer] Cleaned up according to scripts/check_patch.pl

2012-07-22 Thread Fredrik Gustafsson
There's still 6 warnings left: * WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable This is an error in check_patch.pl * WARNING: quoted string split across lines 1516: FILE: timer.c:1516: Is left unsolved because of lack of a good solution. * WARNING

Re: [PATCH] NFS4: Fix NULL deref in nfsd4_lock() by makeing unhash_lockowner() safe to call with NULL arg

2012-07-22 Thread Jesper Juhl
On Mon, 30 Jan 2012, J. Bruce Fields wrote: > On Sun, Jan 29, 2012 at 10:29:24PM +0100, Jesper Juhl wrote: > > The Coverity checker noticed a path through nfsd4_lock() where we call > > release_lockowner(lock_sop); (at the 'out:' label) where 'lock_sop' is > > NULL. > > That goes bad since release

[PATCH 2/2] Staging: slicoss: Clean up spaces vs tabs in slicoss.c

2012-07-22 Thread Jesper Juhl
Make it match CodingStyle a bit better, space/tab wise. Signed-off-by: Jesper Juhl --- drivers/staging/slicoss/slicoss.c | 809 +++--- 1 file changed, 397 insertions(+), 412 deletions(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/sl

[PATCH 1/2] Staging: slicoss: Clean up tabs vs spaces in slic.h

2012-07-22 Thread Jesper Juhl
Make it match CodingStyle a bit better, tab/space wise. Signed-off-by: Jesper Juhl --- drivers/staging/slicoss/slic.h | 751 - 1 file changed, 374 insertions(+), 377 deletions(-) diff --git a/drivers/staging/slicoss/slic.h b/drivers/staging/slicoss/slic.h

Re: [PATCH 2/2] kthread_worker: reimplement flush_kthread_work() to allow freeing the work item being executed

2012-07-22 Thread Andy Walls
On Sun, 2012-07-22 at 09:49 -0700, Tejun Heo wrote: > Hello, > > On Sat, Jul 21, 2012 at 02:20:06PM -0400, Andy Walls wrote: > > > + worker->current_work = work; > > > spin_unlock_irq(&worker->lock); > > > > > > if (work) { > > > __set_current_state(TASK_RUNNING); > > > w

Re: [PATCH 1/2] kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation

2012-07-22 Thread Andy Walls
On Sun, 2012-07-22 at 09:46 -0700, Tejun Heo wrote: > Hello, > > On Sat, Jul 21, 2012 at 01:13:27PM -0400, Andy Walls wrote: > > > +/* insert @work before @pos in @worker */ > > > > Hi Tejun, > > > > Would a comment that the caller should be holding worker->lock be useful > > here? Anyway, comm

Re: [PATCH 2/2] kthread_worker: reimplement flush_kthread_work() to allow freeing the work item being executed

2012-07-22 Thread Andy Walls
Hi Tejun, Thanks for responding to my previous questions. I have one more. On Sat, 2012-07-21 at 14:20 -0400, Andy Walls wrote: > On Thu, 2012-07-19 at 14:16 -0700, Tejun Heo wrote: > > From 06f9a06f4aeecdb9d07014713ab41b548ae219b5 Mon Sep 17 00:00:00 2001 > > From: Tejun Heo > > Date: Thu, 19

Re: [PULL] vhost-net changes for net/3.6

2012-07-22 Thread Nicholas A. Bellinger
Hi DaveM, On Sun, 2012-07-22 at 12:19 -0700, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Sun, 22 Jul 2012 01:54:36 +0300 > > > The following changes since commit 186e868786f97c8026f0a81400b451ace306b3a4: > > > > forcedeth: spin_unlock_irq in interrupt handler fix (2012-07-20 16:1

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 10:19 PM, Sasha Levin wrote: > On 07/22/2012 09:22 PM, Anthony Liguori wrote: >> Sasha Levin writes: >> >>> On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT (0x505UL) + #ifdef __KERNEL__ #include @@ -221,6 +223,11 @@ static inl

Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-22 Thread David Greaves
On 18/07/12 10:55, Tom Gundersen wrote: > Linus, > >> The point I'm slowly getting to is that I would actually love to have >> *distro* Kconfig-files, where the distribution would be able to say >> "These are the minimums I *require* to work". So we'd have a "Distro" >> submenu, where you could pi

Re: [PATCH] acpi: fix pwr_btn_event_pending build error

2012-07-22 Thread Paul E. McKenney
On Sun, Jul 22, 2012 at 07:40:51PM +0200, Rafael J. Wysocki wrote: > On Sunday, July 22, 2012, Paul E. McKenney wrote: > > On Sun, Jul 22, 2012 at 03:08:40AM +0300, Kirill A. Shutemov wrote: > > > On Sat, Jul 21, 2012 at 04:37:14PM -0700, Paul E. McKenney wrote: > > > > On Sun, Jul 22, 2012 at 12:5

[GIT PULL] Power management updates for 3.6

2012-07-22 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-for-3.6-rc1 to receive power management updates for v3.6 with top-most commit 75a4161a58dd157a2bd2dc8e9986e45b62ac46cf Merge branch 'pm-cpufreq' on top of commit d9914cf66

Re: [git pull] vfs.git; pile 1

2012-07-22 Thread Al Viro
On Sun, Jul 22, 2012 at 10:34:10AM -0700, Linus Torvalds wrote: > I'm not pulling this until the mess with the NFS tree is sorted out. > Apparently you rebased your (public!) VFS tree, and now half of your > old pre-rebase patches are in the NFS tree. > > Rebasing public trees IS NOT A VALID OPERA

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 09:22 PM, Anthony Liguori wrote: > Sasha Levin writes: > >> On 07/21/2012 09:12 AM, Wen Congyang wrote: >>> +#define KVM_PV_PORT(0x505UL) >>> + >>> #ifdef __KERNEL__ >>> #include >>> >>> @@ -221,6 +223,11 @@ static inline void kvm_disable_steal_time(void) >>> } >>> #e

crash in ocfs2_fast_symlink_readpage in kernel 3.5.0

2012-07-22 Thread Bret Towe
just booted a fresh 3.5 kernel and got the following on login via gdm on the client computer didn't see any crashes yet on any other computer but didn't give it long to try after seeing this let me know if you need more info this client is running debian wheezy 64bit Jul 22 12:48:38 ghoststar kern

Re: [PATCH] proc: do not allow negative offsets on /proc//environ

2012-07-22 Thread Oleg Nesterov
On 07/22, Djalal Harouni wrote: > > __mem_open() which is called by both /proc//environ and > /proc//mem ->open() handlers will allow the use of negative offsets. > /proc//mem has negative offsets but not /proc//environ. Probablt the patch makes sense, but I can't understand the changelog... > Al

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 09:14 PM, Anthony Liguori wrote: > Sasha Levin writes: > >> On 07/21/2012 10:44 AM, Wen Congyang wrote: >>> We can know the guest is panicked when the guest runs on xen. >>> But we do not have such feature on kvm. >>> >>> Another purpose of this feature is: management app(for exampl

Re: [RFC] firmware load: defer request_firmware during early boot and resume

2012-07-22 Thread Linus Torvalds
On Sun, Jul 22, 2012 at 5:58 AM, Borislav Petkov wrote: > > Question: is there any other reason > > [besides maybe embedded people who care about each single Kb of memory >on the system] > > why we don't make this cache/uncache firmware thing *implicit*? That is, > load it once at driver ope

Re: [PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-07-22 Thread David Miller
From: Date: Thu, 19 Jul 2012 13:57:30 +0800 > When "Invalid Stream Identifier" ERROR happens after process the > received DATA chunks, this ERROR chunk is enqueued into outqueue > before SACK chunk, so when bundling ERROR chunk with SACK chunk, > the ERROR chunk is always placed first in the pack

Re: [PATCHv3 0/6] tun zerocopy support

2012-07-22 Thread David Miller
From: "Michael S. Tsirkin" Date: Sun, 22 Jul 2012 01:05:34 +0300 > I agree a small win in CPU use is nothing to write home about, > I don't yet understand why the win is so small - macvtap has zero copy > supported for a while and it has exactly same issues. > I hope adding tun zerocopy support u

Re: [PATCH V6 08/13] perf: Add Sandy Bridge-EP uncore support

2012-07-22 Thread Stephane Eranian
On Fri, Jun 15, 2012 at 8:31 AM, Yan, Zheng wrote: > > From: "Yan, Zheng" > > Add Intel Nehalem and Sandy Bridge uncore pmu support. The uncore > subsystem in Sandy Bridge-EP consists of 8 components (Ubox, > Cacheing Agent, Home Agent, Memory controller, Power Control, > QPI Link Layer, R2PCIe,

Re: [PATCH 1/2] staging/iio: use module_platform_driver macro

2012-07-22 Thread Jonathan Cameron
On 07/21/2012 09:54 AM, Devendra Naga wrote: > the code which under _init and _exit does only the platform_driver_register > and platform_driver_unregister, and nothing else, > so its better to use the module_platform_driver macro rather duplicating > its implementation > > Signed-off-by: Devendra

Re: [PATCH 21/34] kswapd: assign new_order and new_classzone_idx after wakeup in sleeping

2012-07-22 Thread Hugh Dickins
On Thu, 19 Jul 2012, Mel Gorman wrote: > From: "Alex,Shi" > > commit d2ebd0f6b89567eb93ead4e2ca0cbe03021f344b upstream. Thanks for assembling these, Mel: I was checking through to see if I was missing any, and noticed that this one has the wrong upstream SHA1: the one you give here is the same a

Re: [PATCH 4/5] perf/x86: Uncore filter support for SandyBridge-EP

2012-07-22 Thread Stephane Eranian
On Wed, Jul 4, 2012 at 8:00 AM, Yan, Zheng wrote: > > From: "Yan, Zheng" > > This patch adds C-Box and PCU filter support for SandyBridge-EP > uncore. We can filter C-Box events by thread/core ID and filter > PCU events by frequency/voltage. > > Signed-off-by: Yan, Zheng > --- > arch/x86/kernel

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin writes: > On 07/21/2012 09:12 AM, Wen Congyang wrote: >> +#define KVM_PV_PORT (0x505UL) >> + >> #ifdef __KERNEL__ >> #include >> >> @@ -221,6 +223,11 @@ static inline void kvm_disable_steal_time(void) >> } >> #endif >> >> +static inline unsigned int kvm_arch_pv_features(void)

Re: [PULL] vhost-net changes for net/3.6

2012-07-22 Thread David Miller
From: "Michael S. Tsirkin" Date: Sun, 22 Jul 2012 01:54:36 +0300 > The following changes since commit 186e868786f97c8026f0a81400b451ace306b3a4: > > forcedeth: spin_unlock_irq in interrupt handler fix (2012-07-20 16:18:36 > -0700) > > are available in the git repository at: > > git://git.k

Re: [PATCH] spi/omap2: mark omap2_mcspi_master_setup as __devinit

2012-07-22 Thread Mark Brown
On Fri, Jul 20, 2012 at 04:01:43PM +0530, Shubhrajyoti D wrote: > From: Arnd Bergmann > > This warning recently appeared with omap2plus_defconfig: Applied, thanks. signature.asc Description: Digital signature

[GIT PULL] regulator updates for 3.6

2012-07-22 Thread Mark Brown
The following changes since commit 84a1caf1453c3d44050bd22db958af4a7f99315c: Linux 3.5-rc7 (2012-07-14 15:40:28 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-3.6 for you to fetch changes up to 3384fb98845dc

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin writes: > On 07/21/2012 10:44 AM, Wen Congyang wrote: >> We can know the guest is panicked when the guest runs on xen. >> But we do not have such feature on kvm. >> >> Another purpose of this feature is: management app(for example: >> libvirt) can do auto dump when the guest is panic

Re: [PATCH v3 0/3] cgroup: add xattr support

2012-07-22 Thread Hugh Dickins
On Fri, 20 Jul 2012, Aristeu Rozanski wrote: > On Wed, Jul 18, 2012 at 06:11:32PM -0700, Hugh Dickins wrote: > > > But why do we need something completely new? Can't we hijack some > > > inodes used by tmpfs and use them for xattr storage? ie. Would it be > > > difficult to use tmpfs as backend s

Re: [GIT PULL] x86/uv changes for v3.6

2012-07-22 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sun, Jul 22, 2012 at 7:15 AM, Ingo Molnar wrote: > > > > UV2 BAU productization fixes. > > These kinds of "explanations" are not helpful, Ingo. Nobody > except the SGI people know what the hell those TLA's mean. So > please don't use random TLA's to "explain" thi

Re: [PATCH 00/11] 3.2-stable: Fix for leapsecond caused hrtimer/futex issue

2012-07-22 Thread Ben Hutchings
On Tue, 2012-07-17 at 03:05 -0400, John Stultz wrote: > Here is backport of the leapsecond fixes to 3.2-stable. These are less > straight forward, and should get closer review. [...] All queued up for 3.2, thanks. Ben. -- Ben Hutchings 73.46% of all statistics are made up. signature.asc Descr

Re: PROBLEM: Build fails in 3.4.6

2012-07-22 Thread Alexandre Ferrando
On 22 July 2012 20:01, Thomas Backlund wrote: > 22.07.2012 18:02, Alexandre Ferrando skrev: >> Summary: Linux kernel 3.4.6 fails to build in some cases when >> CONFIG_NO_HZ is set >> >> Full description: Kernel build using configurations [ 0 ] (mine, >> trying to build the zen kernel) and [ 1 ] (f

Re: Deadlocks due to per-process plugging

2012-07-22 Thread Mike Galbraith
On Sat, 2012-07-21 at 09:47 +0200, Mike Galbraith wrote: > On Wed, 2012-07-18 at 07:30 +0200, Mike Galbraith wrote: > > On Wed, 2012-07-18 at 06:44 +0200, Mike Galbraith wrote: > > > > > The patch in question for missing Cc. Maybe should be only mutex, but I > > > see no reason why IO dependenc

[GIT PULL] regmap updates for 3.6

2012-07-22 Thread Mark Brown
The following changes since commit 485802a6c524e62b5924849dd727ddbb1497cc71: Linux 3.5-rc3 (2012-06-16 17:25:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-3.6 for you to fetch changes up to 38e23194e1c95e73819

Re: [PATCH v2] leds: add new lp8788 led driver

2012-07-22 Thread Mark Brown
On Sat, Jul 21, 2012 at 02:48:49AM +0800, Bryan Wu wrote: > Actually cancel_work_sync() is quite similar to flush_work_sync() > here. For the timer thing, in fact it is NULL when cancel_work_sync() > call __cancel_work_timer(). > And Mark, do you have any advice about the flush_work_sync() and >

Re: PROBLEM: Build fails in 3.4.6

2012-07-22 Thread Thomas Backlund
22.07.2012 18:02, Alexandre Ferrando skrev: > Summary: Linux kernel 3.4.6 fails to build in some cases when > CONFIG_NO_HZ is set > > Full description: Kernel build using configurations [ 0 ] (mine, > trying to build the zen kernel) and [ 1 ] (from someone using > slackware) fail to build with thi

Re: [PATCH RFC V5 0/3] kvm: Improving directed yield in PLE handler

2012-07-22 Thread Rik van Riel
On 07/22/2012 08:34 AM, Raghavendra K T wrote: On 07/20/2012 11:06 PM, Marcelo Tosatti wrote: On Wed, Jul 18, 2012 at 07:07:17PM +0530, Raghavendra K T wrote: Currently Pause Loop Exit (PLE) handler is doing directed yield to a random vcpu on pl-exit. We already have filtering while choosing t

[PATCH] USB: plusb: Add support for PL-2501

2012-07-22 Thread kyak
From: Mikhail Peselnik This patch adds support for PL-2501 by adding the appropriate USB ID's. This chip is used in several USB 'Easy Trasfer' Cables. Signed-off-by: Mikhail Peselnik Tested-by: Mikhail Peselnik --- Now with proper sign-offs and right people in cc. plusb driver (drivers/net/us

Re: [GIT PULL] x86/uv changes for v3.6

2012-07-22 Thread Linus Torvalds
On Sun, Jul 22, 2012 at 7:15 AM, Ingo Molnar wrote: > > UV2 BAU productization fixes. These kinds of "explanations" are not helpful, Ingo. Nobody except the SGI people know what the hell those TLA's mean. So please don't use random TLA's to "explain" things. Linus -- To unsubsc

Re: [PATCH] acpi: fix pwr_btn_event_pending build error

2012-07-22 Thread Rafael J. Wysocki
On Sunday, July 22, 2012, Paul E. McKenney wrote: > On Sun, Jul 22, 2012 at 03:08:40AM +0300, Kirill A. Shutemov wrote: > > On Sat, Jul 21, 2012 at 04:37:14PM -0700, Paul E. McKenney wrote: > > > On Sun, Jul 22, 2012 at 12:52:43AM +0300, Kirill A. Shutemov wrote: > > > > On Sat, Jul 21, 2012 at 02:

Re: [git pull] vfs.git; pile 1

2012-07-22 Thread Linus Torvalds
I'm not pulling this until the mess with the NFS tree is sorted out. Apparently you rebased your (public!) VFS tree, and now half of your old pre-rebase patches are in the NFS tree. Rebasing public trees IS NOT A VALID OPERATION! Exactly because of messes like this. So no. No way am I pulling a b

Re: kcmp() races?

2012-07-22 Thread Cyrill Gorcunov
On Sun, Jul 22, 2012 at 04:47:05PM +0100, Al Viro wrote: > I don't know how much of that is by design, but at the very least > it needs to be clearly documented in manpage: kcmp() can give false > positives. Very easily. There is nothing to prevent the objects > being compared from getting free

[PATCH UPDATED 1/2] kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation

2012-07-22 Thread Tejun Heo
>From 9a2e03d8ed518a61154f18d83d6466628e519f94 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Thu, 19 Jul 2012 13:52:53 -0700 Make the following two non-functional changes. * Separate out insert_kthread_work() from queue_kthread_work(). * Relocate struct kthread_flush_work and kthread_flush_wor

[PATCH] USB: plusb: Add support for PL-2501

2012-07-22 Thread kyak
From: Mikhail Peselnik This patch adds support for PL-2501 by adding the appropriate USB ID's. This chip is used in several USB 'Easy Trasfer' Cables. Tested-by: Mikhail Peselnik --- plusb driver (drivers/net/usb/plusb.c) doesn't recognize PL2501 chip. Since PL2501 uses the same code as PL2

[PATCH] gpiolib: fix chip->base handling in of_gpio_simple_xlate()

2012-07-22 Thread Daniel Mack
of_gpio_simple_xlate() is called for each chip when a GPIO is looked up. When registering several chips off the same DT node (with different pin offsets) however, the lookup fails as the GPIO number passed in to of_gpio_simple_xlate() is likely higher than the chip's ->ngpio value. Fix that by tak

Re: [PATCH 2/2] kthread_worker: reimplement flush_kthread_work() to allow freeing the work item being executed

2012-07-22 Thread Tejun Heo
Hello, On Sat, Jul 21, 2012 at 02:20:06PM -0400, Andy Walls wrote: > > + worker->current_work = work; > > spin_unlock_irq(&worker->lock); > > > > if (work) { > > __set_current_state(TASK_RUNNING); > > work->func(work); > > If the call to 'work->func(work);' fre

[PATCH] proc: do not allow negative offsets on /proc//environ

2012-07-22 Thread Djalal Harouni
__mem_open() which is called by both /proc//environ and /proc//mem ->open() handlers will allow the use of negative offsets. /proc//mem has negative offsets but not /proc//environ. Allowing negative offsets on /proc//environ can turn it to act like /proc//mem. A negative offset will pass the fs/re

Re: [PATCH 1/2] kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation

2012-07-22 Thread Tejun Heo
Hello, On Sat, Jul 21, 2012 at 01:13:27PM -0400, Andy Walls wrote: > > +/* insert @work before @pos in @worker */ > > Hi Tejun, > > Would a comment that the caller should be holding worker->lock be useful > here? Anyway, comment or not: > > Acked-by: Andy Walls Will add lockdep_assert_held()

[PATCH] workqueue: fix spurious CPU locality WARN from process_one_work()

2012-07-22 Thread Tejun Heo
25511a4776 "workqueue: reimplement CPU online rebinding to handle idle workers" added CPU locality sanity check in process_one_work(). It triggers if a worker is executing on a different CPU without UNBOUND or REBIND set. This works for all normal workers but rescuers can trigger this spuriously

Re: [RFC] optimize the locking in the rebalance_domains()

2012-07-22 Thread Vlad Zolotarov
On Sun, 2012-07-22 at 19:23 +0300, Vlad Zolotarov wrote: > Ingo, we've noticed that rebalance_domains() will try to take a lock > every time it's called (every jiffy) This is of course when NOHZ is off... ;) > if SD_SERIALIZE is set (which is a > default configuration). This is done regardless t

Re: mmotm 2012-07-20-16-30 uploaded

2012-07-22 Thread Michal Hocko
On Fri 20-07-12 16:32:06, Andrew Morton wrote: > The mm-of-the-moment snapshot 2012-07-20-16-30 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ The git tree (at https://github.com/mstsxfx/memcg-devel.git) has been updated as well. > mmotm-readme.txt says > > README for mm-of-the-

[next:akpm 129/309] net/core/sock.c:274:36: error: initializer element is not constant

2012-07-22 Thread Fengguang Wu
Hi Mel, To be frank, I don't quite understand this build failure.. tree: next/akpm akpm head: 37e2ad4953983527f7bdb6831bf478eedcc84082 commit: 799dc3a908b1df8b766c35aefc24c1b5356aa051 [129/309] netvm: allow skb allocation to use PFMEMALLOC reserves config: parisc-defconfig (attached as .conf

[RFC] optimize the locking in the rebalance_domains()

2012-07-22 Thread Vlad Zolotarov
Ingo, we've noticed that rebalance_domains() will try to take a lock every time it's called (every jiffy) if SD_SERIALIZE is set (which is a default configuration). This is done regardless the fact that maybe there hasn't passed enough time since the last rebalancing in which case there is no need

Release Announcements

2012-07-22 Thread Shea Levy
Hello, The linux-kernel-announce doesn't seem to have had any traffic since 3.1-rc4 (maybe due to the kernel.org break-in?). Is there a recommended way to get email news of kernel releases without being subscribed to the main kernel list? Cheers, Shea-- To unsubscribe from this list: send the l

[QUERY]: Understanding the calculations in mm/page-writeback.c

2012-07-22 Thread rajman mekaco
Hi, I am trying to understand the calculations in mm/page-writeback.c but I am falling short of theoretical knowledge. What online (or otherwise) reading material can be used to fully understand the maths formulae in mm/page-writeback.c ? ( Sorry for my last email with unchanged subject line. )

kcmp() races?

2012-07-22 Thread Al Viro
I don't know how much of that is by design, but at the very least it needs to be clearly documented in manpage: kcmp() can give false positives. Very easily. There is nothing to prevent the objects being compared from getting freed and reused; consider unshare(2), for example. Or close(2

Re: arm-allnoconfig error: '__LINUX_ARM_ARCH__' undeclared

2012-07-22 Thread rajman mekaco
Hi, I am trying to understand the calculations in mm/page-writeback.c but I am falling short of theoretical knowledge. What online (or otherwise) reading material can be used to fully understand the maths formulae in mm/page-writeback.c ? Thanks, Rajman. -- To unsubscribe from this list: send th

RE: [PATCH] drivers: hv: use Linux version in guest ID

2012-07-22 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, July 20, 2012 12:10 PM > To: KY Srinivasan > Cc: Bjørn Mork; Paolo Bonzini; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] drivers: hv: use Linux version in guest

Re: [PATCH v5 0/4] kvm: level irqfd and new eoifd

2012-07-22 Thread Gleb Natapov
On Fri, Jul 20, 2012 at 01:07:32PM +0300, Michael S. Tsirkin wrote: > On Thu, Jul 19, 2012 at 12:48:07PM -0600, Alex Williamson wrote: > > On Thu, 2012-07-19 at 20:45 +0300, Michael S. Tsirkin wrote: > > > On Thu, Jul 19, 2012 at 11:29:38AM -0600, Alex Williamson wrote: > > > > On Thu, 2012-07-19 a

RE: [PATCH 00/13] drivers: hv: kvp

2012-07-22 Thread KY Srinivasan
> -Original Message- > From: Ben Hutchings [mailto:b...@decadent.org.uk] > Sent: Saturday, July 21, 2012 10:51 PM > To: KY Srinivasan > Cc: Olaf Hering; Greg KH; a...@canonical.com; de...@linuxdriverproject.org; > virtualizat...@lists.osdl.org; linux-kernel@vger.kernel.org; > net...@vger.

[PATCH] ARM: vt8500: clk: Add clock support for arch-vt8500

2012-07-22 Thread Tony Prisk
This patch adds common clock framework support for arch-vt8500. WM8650 support is included in preparation for devicetree support. Each SoC has a seperate initialization function due to no devicetree support to identify SoCs at the moment. Once devicetree is implemented, VT8500 and WM8505 should be

PROBLEM: Build fails in 3.4.6

2012-07-22 Thread Alexandre Ferrando
Summary: Linux kernel 3.4.6 fails to build in some cases when CONFIG_NO_HZ is set Full description: Kernel build using configurations [ 0 ] (mine, trying to build the zen kernel) and [ 1 ] (from someone using slackware) fail to build with this error message when CONFIG_NO_HZ is set: kernel/built-

Re: next/mmotm unbootable on G5: irqdomain

2012-07-22 Thread Hugh Dickins
On Sun, 22 Jul 2012, Benjamin Herrenschmidt wrote: > On Sat, 2012-07-21 at 19:47 -0700, Hugh Dickins wrote: > > I have to revert the patch below from mmotm 2012-07-20-16-30 or > > next-20120720 in order to boot on the PowerPC G5: otherwise it > > freezes before switching to the framebuffer console

Re: [GIT PULL] x86/build change for v3.6

2012-07-22 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Sun, Jul 22, 2012 at 03:44:51PM +0200, Ingo Molnar wrote: > > Linus, > > > > Please pull the latest x86-build-for-linus git tree from: > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > x86-build-for-linus > > > >HEAD: d9b0cde91c60da

[GIT PULL] x86/uv changes for v3.6

2012-07-22 Thread Ingo Molnar
Linus, Please pull the latest x86-uv-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-uv-for-linus HEAD: 8b6e511e51f7e540c8e71022318ee4cc9a4567a7 x86/uv: Work around UV2 BAU hangs UV2 BAU productization fixes. Thanks, Ingo ---

[GIT PULL] x86/reboot changes for v3.6

2012-07-22 Thread Ingo Molnar
Linus, Please pull the latest x86-reboot-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-reboot-for-linus HEAD: 9751d7627582fc1cc64625d63bde9528c14f1544 x86-64, reboot: Be more paranoid in 64-bit reboot=bios Now that the revampted x86 real-mode tra

kconfig-frontends-3.5.0-0 released

2012-07-22 Thread Yann E. MORIN
Hello All! I'm pleased to announce the release of kconfig-frontends 3.5.0-0! Go download it there: http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.5.0-0.tar.xz http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.5.0-0.tar.bz2 The kconfig

[tip:x86/platform] Revert "x86/early_printk: Replace obsolete simple_strtoul() usage with kstrtoint()"

2012-07-22 Thread tip-bot for Ingo Molnar
Commit-ID: 36d93d88a5396baa135f8bcde7b8501dfe3b8e53 Gitweb: http://git.kernel.org/tip/36d93d88a5396baa135f8bcde7b8501dfe3b8e53 Author: Ingo Molnar AuthorDate: Fri, 22 Jun 2012 16:25:19 +0200 Committer: Ingo Molnar CommitDate: Sun, 22 Jul 2012 15:47:52 +0200 Revert "x86/early_printk: Re

[GIT PULL] x86/mce changes for v3.6

2012-07-22 Thread Ingo Molnar
Linus, Please pull the latest x86-mce-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mce-for-linus HEAD: bb65a764de59b76323e0b72abbd9fc31401a53fa Merge branch 'mce-ripvfix' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras into x86/mce This

Re: [GIT PULL] x86/build change for v3.6

2012-07-22 Thread Kirill A. Shutemov
On Sun, Jul 22, 2012 at 03:44:51PM +0200, Ingo Molnar wrote: > Linus, > > Please pull the latest x86-build-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-build-for-linus > >HEAD: d9b0cde91c60da0ed5f92cdc3ac878142e6b5f27 x86-64, gcc: Use > -m

[GIT PULL] x86/build change for v3.6

2012-07-22 Thread Ingo Molnar
Linus, Please pull the latest x86-build-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-for-linus HEAD: d9b0cde91c60da0ed5f92cdc3ac878142e6b5f27 x86-64, gcc: Use -mpreferred-stack-boundary=3 if supported Thanks, Ingo ---

[GIT PULL] x86/asm changes for v3.6

2012-07-22 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus HEAD: a7101d152665817bf7cafc47e7f5dcb1f54664fe x86/mm/mtrr: Slightly simplify print_mtrr_state() Assorted single-commit improvements, as usual. Tha

[GIT PULL] timer changes for v3.6

2012-07-22 Thread Ingo Molnar
Linus, Please pull the latest timers-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-for-linus HEAD: eec19d1a0d04c80e66eef634f7b8f460f2ca5643 Merge branch 'linus' into timers/core Continued cleanups of the core time and NTP code, plus

[GIT PULL] smp/hotplug changes for v3.6

2012-07-22 Thread Ingo Molnar
Linus, Please pull the latest smp-hotplug-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-hotplug-for-linus HEAD: b871a42b6091b720e82ddff237659534c525c25b smpboot: Remove leftover declaration Various cleanups to the SMP hotplug code - a continuing

Re: next/mmotm unbootable on G5: irqdomain

2012-07-22 Thread Benjamin Herrenschmidt
On Sat, 2012-07-21 at 19:47 -0700, Hugh Dickins wrote: > I have to revert the patch below from mmotm 2012-07-20-16-30 or > next-20120720 in order to boot on the PowerPC G5: otherwise it > freezes before switching to the framebuffer console - but I'm > not certain where because that initial console

[GIT PULL] core/iommu changes for v3.6

2012-07-22 Thread Ingo Molnar
Linus, Please pull the latest core-iommu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-iommu-for-linus HEAD: e9071b0be5e7ce4903b7f7c370769d485774d3e3 iommu/dmar: Use pr_format() instead of PREFIX to tidy up pr_*() calls Thanks, Ingo -

Re: [RFC] firmware load: defer request_firmware during early boot and resume

2012-07-22 Thread Borislav Petkov
On Sat, Jul 21, 2012 at 01:38:52PM -0700, Linus Torvalds wrote: > > Looks it is not difficult to cache firmware data by kernel, for example, > > just > > call the > > > >cache_firmware(fw_name) > > > > for each device which need firmware before suspending, > > then call the below to un

Re: [PATCH RFC V5 0/3] kvm: Improving directed yield in PLE handler

2012-07-22 Thread Avi Kivity
On 07/22/2012 03:34 PM, Raghavendra K T wrote: > > Thanks Marcelo for the review. Avi, Rik, Christian, please let me know > if this series looks good now. > It looks fine to me. Christian, is this okay for s390? -- error compiling committee.c: too many arguments to function -- To unsubscrib

Re: [PATCH RFC V5 0/3] kvm: Improving directed yield in PLE handler

2012-07-22 Thread Raghavendra K T
On 07/20/2012 11:06 PM, Marcelo Tosatti wrote: On Wed, Jul 18, 2012 at 07:07:17PM +0530, Raghavendra K T wrote: Currently Pause Loop Exit (PLE) handler is doing directed yield to a random vcpu on pl-exit. We already have filtering while choosing the candidate to yield_to. This change adds more

[PATCH 04/17] perf: Factor __output_copy to be usable with specific copy function

2012-07-22 Thread Jiri Olsa
From: Frederic Weisbecker Adding a generic way to use __output_copy function with specific copy function via DEFINE_PERF_OUTPUT_COPY macro. Using this to add new __output_copy_user function, that provides output copy from user pointers. For x86 the copy_from_user_nmi_nochk function is used and _

[PATCH 03/17] perf, x86: Add copy_from_user_nmi_nochk for best effort copy

2012-07-22 Thread Jiri Olsa
Adding copy_from_user_nmi_nochk that provides the best effort copy regardless the requesting size crossing the task boundary. This is going to be useful for stack dump we need in post DWARF CFI based unwind, where we have predefined size of the user stack to dump, and we need to store the most of

[PATCHv7 00/17] perf: Add backtrace post dwarf unwind

2012-07-22 Thread Jiri Olsa
hi, patches available also as tarball in here: http://people.redhat.com/~jolsa/perf_post_unwind_v7.tar.bz2 v7 changes: - omitted v6 patches 9 and 15 They need more work and will be sent separately. I dont want to hold off whole patchset because of them. We could miss some related ba

[PATCH 09/17] perf, tool: Factor DSO symtab types to generic binary types

2012-07-22 Thread Jiri Olsa
Adding interface to access DSOs so it could be used from another place. New DSO binary type is added - making current SYMTAB__* types more general: DSO_BINARY_TYPE__* = SYMTAB__* Following function is added to return path based on the specified binary type: dso__binary_type_file Signed-off

[PATCH 05/17] perf: Add perf_output_skip function to skip bytes in sample

2012-07-22 Thread Jiri Olsa
Introducing perf_output_skip function to be able to skip data within the perf ring buffer. When writing data into perf ring buffer we first reserve needed place in ring buffer and then copy the actual data. There's a possibility we won't be able to fill all the reserved size with data, so we need

[PATCH 13/17] perf, tool: Support user regs and stack in sample parsing

2012-07-22 Thread Jiri Olsa
Adding following info to be parsed out of the event sample: - user register set - user stack dump Both are global and specific to all events within the session. This info will be used in the unwind patches coming in shortly. Adding simple output printout (report -D) for both register and stack

[PATCH 16/17] perf, tool: Add dso data caching

2012-07-22 Thread Jiri Olsa
Adding dso data caching so we don't need to open/read/close, each time we want dso data. The DSO data caching affects following functions: dso__data_read_offset dso__data_read_addr Each DSO read tries to find the data (based on offset) inside the cache. If it's not present it fills the cache

[PATCH 17/17] perf, tool: Add dso data caching tests

2012-07-22 Thread Jiri Olsa
Adding automated test for DSO data reading. Testing raw/cached reads from different file/cache locations. Signed-off-by: Jiri Olsa --- tools/perf/Makefile |1 + tools/perf/builtin-test.c |4 + tools/perf/util/dso-test-data.c | 154 ++

[PATCH 14/17] perf, tool: Support for dwarf cfi unwinding on post processing

2012-07-22 Thread Jiri Olsa
This brings the support for dwarf cfi unwinding on perf post processing. Call frame informations are retrieved and then passed to libunwind that requests memory and register content from the applications. Adding unwind object to handle the user stack backtrace based on the user register values and

[PATCH 15/17] perf, tool: Support for dwarf mode callchain on perf record

2012-07-22 Thread Jiri Olsa
This patch enables perf to use the dwarf unwind code. It extends the perf record '-g' option with following arguments: 'fp' - provides framepointer based user stack backtrace 'dwarf[,size]' - provides dwarf (libunwind) based user stack backtrace.

[PATCH 10/17] perf, tool: Add interface to read DSO image data

2012-07-22 Thread Jiri Olsa
Adding following interface for DSO object to allow reading of DSO image data: dso__data_fd - opens DSO and returns file descriptor Binary types are used to locate/open DSO in following order: DSO_BINARY_TYPE__BUILD_ID_CACHE DSO_BINARY_TYPE__SYSTEM_PATH_DSO In othe

[PATCH 11/17] perf, tool: Add interface to arch registers sets

2012-07-22 Thread Jiri Olsa
Adding header files to access unified API for arch registers. util/perf_regs.h - global perf_reg declarations arch/x86/include/perf_regs.h - x86 arch specific Adding perf_reg_name function to obtain register name based on the reg ID value, and PERF_REGS_MASK macro with mask definition of all c

[PATCH 06/17] perf: Add ability to attach user stack dump to sample

2012-07-22 Thread Jiri Olsa
Introducing PERF_SAMPLE_STACK_USER sample type bit to trigger the dump of the user level stack on sample. The size of the dump is specified by sample_stack_user value. Being able to dump parts of the user stack, starting from the stack pointer, will be useful to make a post mortem dwarf CFI based

[PATCH 07/17] perf: Add attribute to filter out callchains

2012-07-22 Thread Jiri Olsa
From: Frederic Weisbecker Introducing following bits to the the perf_event_attr struct: - exclude_callchain_kernel to filter out kernel callchain from the sample dump - exclude_callchain_user to filter out user callchain from the sample dump We need to be able to disable standard use

[PATCH 01/17] perf: Unified API to record selective sets of arch registers

2012-07-22 Thread Jiri Olsa
This brings a new API to help the selective dump of registers on event sampling, and its implementation for x86 arch. Added HAVE_PERF_REGS config option to determine if the architecture provides perf registers ABI. The information about desired registers will be passed in u64 mask. It's up to the

[PATCH 12/17] perf, tool: Add libunwind dependency for dwarf cfi unwinding

2012-07-22 Thread Jiri Olsa
Adding libunwind to be linked with perf if available. It's required for the to get dwarf cfi unwinding support. Also building perf with the dwarf call frame informations by default, so that we can unwind callchains in perf itself. Adding LIBUNWIND_DIR Makefile variable allowing user to specify th

[PATCH 08/17] perf, tool: Adding PERF_ATTR_SIZE_VER2 to the header swap check

2012-07-22 Thread Jiri Olsa
Updating attr_file_abi_sizes array with PERF_ATTR_SIZE_VER2 version, so we have the swap check complete. Signed-off-by: Jiri Olsa --- tools/perf/util/header.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 5a47ab

<    1   2   3   4   >