Re: [PATCH] Staging: Android: logger: module_exit implementationg

2012-11-02 Thread Brian Swetland
On Fri, Nov 2, 2012 at 11:29 AM, Greg Kroah-Hartman wrote: > On Thu, Nov 01, 2012 at 11:15:52PM -0700, Luca Clementi wrote: >> + >> + >> +module_init(logger_init); > > Is module_init() the same "level" as device_initcall()? Did you test > this out in an Android system? > >>

[PATCH 3/3] fat: warn when discard request fails other than EOPNOTSUPP

2012-11-02 Thread Namjae Jeon
FAT also warn user then the discard request fails as ext4(http://patchwork.ozlabs.org/patch/192669/) Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/fat/fatent.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/fs/fat/fatent.c

[PATCH 2/3] fat: notify when discard is not supported

2012-11-02 Thread Namjae Jeon
FAT also notify warning message about discard support as ext4(http://patchwork.ozlabs.org/patch/192668/) Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/fat/inode.c |8 1 file changed, 8 insertions(+) diff --git a/fs/fat/inode.c b/fs/fat/inode.c index

[PATCH 1/3] fat: use s_blocksize_bits where SECTOR SIZE alignment is needed

2012-11-02 Thread Namjae Jeon
Currently there is hard-coding at various places in FAT for using the SECTOR size alignment. So, In order to remove the hard coding we need to change the usage of '9' in FAT code. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/fat/file.c |3 ++- fs/fat/inode.c |9

Re: [BUGFIX 1/2] PCI/PM: Fix deadlock when unbind device if its parent in D3cold

2012-11-02 Thread Huang Ying
On Fri, 2012-11-02 at 10:50 -0600, Bjorn Helgaas wrote: > On Wed, Oct 24, 2012 at 12:54 AM, Huang Ying wrote: > > If a PCI device and its parents are put into D3cold, unbinding the > > device will trigger deadlock as follow: > > > > - driver_unbind > > - device_release_driver > > -

Re: [BUGFIX 2/2] PCI/PM: Resume device before shutdown

2012-11-02 Thread Huang Ying
On Fri, 2012-11-02 at 10:52 -0600, Bjorn Helgaas wrote: > On Wed, Oct 24, 2012 at 12:54 AM, Huang Ying wrote: > > Some actions during shutdown need device to be in D0 state, such as > > MSI shutdown etc, so resume device before shutdown. > > Is there a problem report or bugzilla for this issue?

Re: [B.A.T.M.A.N.] [PATCH v2 9/9] net: batman-adv: use per_cpu_add helper

2012-11-02 Thread Shan Wei
Sven Eckelmann said, at 2012/11/3 1:55: > On Saturday 03 November 2012 00:02:06 Shan Wei wrote: >> From: Shan Wei >> >> As Christoph Lameter said: >>> In addition, following usage of per_cpu_ptr can be replaced by >>> this_cpu_read. >>> >>> cpu=get_cpu() >>> >>> *per_cpu_ptr(p,cpu) >>>

Re: [PATCH 8/9] trace: use this_cpu_ptr per-cpu helper

2012-11-02 Thread Shan Wei
Christoph Lameter said, at 2012/11/3 1:53: > > hmm what is actually returned is a pointer to char right? And buffer > is char[1024] so I guess then you need to pass a pointer to char to > this_cpu_read. > > return this_cpu_read(&(percpu_buffer->buffer)) still error

Re: AMD A10: MCE Instruction Cache Error

2012-11-02 Thread Borislav Petkov
On Fri, Nov 02, 2012 at 02:53:45PM +0100, Alexander Holler wrote: > Am 02.11.2012 11:50, schrieb Alexander Holler: > >Hello, > > > >I've just got the following on an AMD A10 5800K: > > > >-- > >[ 8395.999581] [Hardware Error]: CPU:0 > >MC1_STATUS[-|CE|MiscV|-|AddrV|-|-]: 0x8c210151 >

[PATCH cleanup RFC] ftrace: kill unused and puzzled sample code in ftrace.h

2012-11-02 Thread Shan Wei
From: Shan Wei When doing per-cpu helper optimizing work, find that this code is so puzzled. 1. It's mark as comment text, maybe a sample function for guidelines or a todo work. 2. But, this sample code is odd where struct perf_trace_buf is nonexistent. commit ce71b9 delete struct

Re: [ 0/4] 3.0.51-stable review

2012-11-02 Thread Greg Kroah-Hartman
On Fri, Nov 02, 2012 at 10:31:10PM -0200, Rafael Aquini wrote: > On Fri, Nov 02, 2012 at 10:06:04AM -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.0.51 release. > > There are 4 patches in this series, all will be posted as a response > > to this one.

Re: mm: NULL ptr deref in anon_vma_interval_tree_verify

2012-11-02 Thread Sasha Levin
Ping? On Thu, Oct 25, 2012 at 4:26 PM, Sasha Levin wrote: > On 10/18/2012 06:46 PM, Sasha Levin wrote: >> Hi all, >> >> While fuzzing with trinity inside a KVM tools (lkvm) guest, on today's >> linux-next kernel, >> I saw the following: >> >> [ 1857.278176] BUG: unable to handle kernel NULL

[GIT] Networking

2012-11-02 Thread David Miller
First post-Sandy pull request, here goes: 1) Fix antenna gain handling and initialization of chan->max_reg_power in wireless, from Felix Fietkau. 2) Fix nexthop handling in H.232 conntrack helper, from Julian Anastasov. 3) Only process 80211 mesh config header in certain kinds of frames,

Re: [PATCH v6 00/29] kmem controller for memcg.

2012-11-02 Thread Greg Thelen
On Fri, Nov 2, 2012 at 12:41 AM, Glauber Costa wrote: > On 11/02/2012 04:04 AM, Andrew Morton wrote: >> On Thu, 1 Nov 2012 16:07:16 +0400 >> Glauber Costa wrote: >> >>> Hi, >>> >>> This work introduces the kernel memory controller for memcg. Unlike previous >>> submissions, this includes the

Re: Kdump with signed images

2012-11-02 Thread Balbir Singh
On Fri, Nov 2, 2012 at 8:06 PM, Vivek Goyal wrote: > On Fri, Nov 02, 2012 at 07:59:15PM +0530, Balbir Singh wrote: >> On Fri, Nov 2, 2012 at 6:53 PM, Vivek Goyal wrote: >> > On Thu, Nov 01, 2012 at 02:52:25PM +, Matthew Garrett wrote: >> >> On Thu, Nov 01, 2012 at 10:43:04AM -0400, Vivek

RE: RE: [PATCH] extcon : callback function to read cable property

2012-11-02 Thread Tc, Jenny
Myunjoo, Ping. Could you please have a look at my response below? -jtc > -Original Message- > From: Tc, Jenny > Sent: Thursday, October 25, 2012 2:55 PM > To: myungjoo@samsung.com; ??? > Cc: linux-kernel@vger.kernel.org; anish kumar > Subject: RE: RE: [PATCH] extcon : callback

Re: [PATCH 00/32] [RFC] nohz/cpuset: Start discussions on nohz CPUs

2012-11-02 Thread Paul E. McKenney
On Fri, Nov 02, 2012 at 04:51:50PM -0400, Steven Rostedt wrote: > On Fri, 2012-11-02 at 13:41 -0700, Paul E. McKenney wrote: > > > The no-CBs mask would be read-only for some time -- changed only at > > boot. Longer term, I hope to allow run-time modification, but... > > but what? You're not

Re: [PATCH 21/21] TTY: move tty buffers to tty_port

2012-11-02 Thread Sasha Levin
On 11/02/2012 12:18 PM, Jiri Slaby wrote: > On 11/02/2012 05:07 PM, Sasha Levin wrote: >> On Fri, Nov 2, 2012 at 11:51 AM, Jiri Slaby wrote: >>> On 10/31/2012 04:59 PM, Sasha Levin wrote: So you probably want a lot more than 100k syscalls, why limit it at all actually? >>> >>> I unset

Re: [PATCH 10/16] ethernet: Convert dev_printk(KERN_ to dev_(

2012-11-02 Thread David Miller
From: Joe Perches Date: Sun, 28 Oct 2012 01:05:48 -0700 > dev_ calls take less code than dev_printk(KERN_ > and reducing object size is good. > Coalesce formats for easier grep. > > Signed-off-by: Joe Perches I forgot the other day so indicate that I applied this to net-next, thanks. -- To

Re: [PATCH] vmxnet3: must split too big fragments

2012-11-02 Thread David Miller
From: Eric Dumazet Date: Mon, 29 Oct 2012 18:30:49 +0100 > From: Eric Dumazet > > vmxnet3 has a 16Kbytes limit per tx descriptor, that happened to work > as long as we provided PAGE_SIZE fragments. > > Our stack can now build larger fragments, so we need to split them to > the 16kbytes

[ANNOUNCE] 3.0.48-rt72

2012-11-02 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.0.48-rt72 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git Head SHA1: 23bdb6e166622c5129b716b0151afe1d543bc81e Or to build 3.0.48-rt72 directly, the following

[ANNOUNCE] 3.2.32-rt49

2012-11-02 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.32-rt49 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git Head SHA1: cbced358ac79dfeea8ec0be224edb6087730b112 Or to build 3.2.32-rt49 directly, the following

[ANNOUNCE] 3.4.15-rt26

2012-11-02 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.15-rt26 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git Head SHA1: ea7a096a3d06bcdc415e534863a69921bc758327 Or to build 3.4.15-rt26 directly, the following

Re: linux-next: Tree for Sept 24 (irqchip)

2012-11-02 Thread Randy Dunlap
On 09/24/2012 09:46 AM, Olof Johansson wrote: > On Mon, Sep 24, 2012 at 9:07 AM, Stephen Rothwell > wrote: >> Hi Randy, >> >> On Mon, 24 Sep 2012 08:39:05 -0700 Randy Dunlap wrote: >>> >>> On 09/24/2012 07:53 AM, Stephen Rothwell wrote: >>> Today was a train wreck, with lots of new

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Matthew Garrett
On Fri, Nov 02, 2012 at 05:47:02PM -0700, Eric W. Biederman wrote: > No reason to? How can I configure an off the shelf system originally > sold with windows 8 installed to boot in UEFI secure boot mode using > shim without trusting Microsoft's key? Delete the installed keys, install your

Re: [PATCH 2/2] drivers/net/phy/mdio-bitbang.c: Call mdiobus_unregister before mdiobus_free

2012-11-02 Thread David Miller
From: Peter Senna Tschudin Date: Sun, 28 Oct 2012 17:12:01 +0100 > Based on commit b27393aecf66199f5ddad37c302d3e0cfadbe6c0 > > Calling mdiobus_free without calling mdiobus_unregister causes > BUG_ON(). This patch fixes the issue. > > The semantic patch that found this

Re: [PATCH 1/2] drivers/net/ethernet/nxp/lpc_eth.c: Call mdiobus_unregister before mdiobus_free

2012-11-02 Thread David Miller
From: Peter Senna Tschudin Date: Sun, 28 Oct 2012 17:12:00 +0100 > Based on commit b27393aecf66199f5ddad37c302d3e0cfadbe6c0 > > Calling mdiobus_free without calling mdiobus_unregister causes > BUG_ON(). This patch fixes the issue. > > The semantic patch that found this

Re: [PATCHv3 net-next 0/8] enable/disable zero copy tx dynamically

2012-11-02 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 1 Nov 2012 21:16:17 +0200 > > tun supports zero copy transmit since > 0690899b4d4501b3505be069b9a687e68ccbe15b, > however you can only enable this mode if you know your workload does not > trigger heavy guest to host/host to guest traffic - otherwise you >

Re: [PATCH 2/5] mm: frontswap: lazy initialization to allow tmem backends to build/run as modules

2012-11-02 Thread Bob Liu
On Sat, Nov 3, 2012 at 2:27 AM, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 31, 2012 at 12:05:32PM -0500, Seth Jennings wrote: >> On 10/31/2012 10:07 AM, Dan Magenheimer wrote: >> > With the goal of allowing tmem backends (zcache, ramster, Xen tmem) to be >> > built/loaded as modules rather than

Re: [RFC/PATCH] epoll: replace EPOLL_CTL_DISABLE with EPOLL_CTL_POKE

2012-11-02 Thread Christof Meerwald
On Fri, 2 Nov 2012 04:13:12 +, Eric Wong wrote: [...] > EPOLL_CTL_POKE may be used to force an item into the epoll > ready list. Instead of disabling an item asynchronously > via EPOLL_CTL_DISABLE, this forces the threads calling > epoll_wait() to handle the item in its normal loop. That was

Re: [REGRESSION] i915: failure to interoperate with HP ZR30w using an X230

2012-11-02 Thread Theodore Ts'o
Ping? On Tue, Oct 30, 2012 at 04:32:21PM -0400, Theodore Ts'o wrote: > On Tue, Oct 30, 2012 at 01:57:27PM +0200, Jani Nikula wrote: > > > [1] drm-intel-next-queued branch at > > > git://people.freedesktop.org/~danvet/drm-intel > > > > Hmm, actually not. Either drm-intel-fixes branch, or Linus'

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Alan Cox
> No reason to? How can I configure an off the shelf system originally > sold with windows 8 installed to boot in UEFI secure boot mode using > shim without trusting Microsoft's key? Assuming its an x86 and a PC class platform and thus should allow you to disable secure boot mode then you

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Alan Cox
On Sat, 3 Nov 2012 00:23:39 + Matthew Garrett wrote: > On Fri, Nov 02, 2012 at 11:46:07PM +, Alan Cox wrote: > > On Fri, 02 Nov 2012 16:19:39 -0600 > > Chris Friesen wrote: > > > On 11/02/2012 04:03 PM, Eric W. Biederman wrote: > > > > Matthew Garrett writes: > > > >> And if any of

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Eric W. Biederman
Matthew Garrett writes: > On Fri, Nov 02, 2012 at 03:03:02PM -0700, Eric W. Biederman wrote: > >> I don't want my system p0wned in the first place and I don't want to run >> windows. Why should I trust Microsoft's signing key? > > There's no reason to. Systems that don't trust Microsoft's

Re: setting up CDB filters in udev (was Re: [PATCH v2 0/3] block: add queue-private command filter, editable via sysfs)

2012-11-02 Thread Alan Cox
> So, my first response was whether you mean to add arbitrary range > filtering for standard read/writes too. If you're not gonna do that Thats relevant for /dev/sd but not /dev/sg. Now it might be the sane thing to do is to support BPF filters on /dev/sg only ? > But we should't add features

Re: [PATCH 1/2] PM: make VT switching to the suspend console optional

2012-11-02 Thread Jesse Barnes
On 11/2/2012 5:42 PM, Alan Cox wrote: that, but how would I even configure a VT split across two adapters today? For vgacon we just route VGA to a single adapter, but I'm not con2fb /dev/fb1 /dev/tty1 Dunno about suspend vs unload, how do we deal that in other drivers like the disk driver

Re: [PATCH 1/2] PM: make VT switching to the suspend console optional

2012-11-02 Thread Alan Cox
> that, but how would I even configure a VT split across two adapters > today? For vgacon we just route VGA to a single adapter, but I'm not con2fb /dev/fb1 /dev/tty1 > Dunno about suspend vs unload, how do we deal that in other drivers like > the disk driver for suspend for example?

PROBLEM: log: task flush-x:y:z blocked for more than 120 seconds: leading to unusable (stalled) machine

2012-11-02 Thread kernelbug
Description: On a desktop machine running an ArchLinux stock kernel, after 1/2 day uptime, while working under KDE SC, two I/O intensive tasks running for hours, I get a log message like "INFO: task flush-254:0:539 blocked for more than 120 seconds." and afterwards, the machine starts getting

Re: [ 0/4] 3.0.51-stable review

2012-11-02 Thread Rafael Aquini
On Fri, Nov 02, 2012 at 10:06:04AM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.0.51 release. > There are 4 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Matthew Garrett
On Fri, Nov 02, 2012 at 11:46:07PM +, Alan Cox wrote: > On Fri, 02 Nov 2012 16:19:39 -0600 > Chris Friesen wrote: > > On 11/02/2012 04:03 PM, Eric W. Biederman wrote: > > > Matthew Garrett writes: > > >> And if any of them are used to attack Linux, we'd expect those versions > > >> of

Re: setting up CDB filters in udev (was Re: [PATCH v2 0/3] block: add queue-private command filter, editable via sysfs)

2012-11-02 Thread Tejun Heo
Hello, On Sat, Nov 03, 2012 at 12:19:05AM +, Alan Cox wrote: > > Hmmm? You know which commands you're allowing. You can definitely > > filter those commands for their ranges. What ioctls? > > How do you know what the rules are in kernel. If I'm locking you to fixed > mappings you have no

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Matthew Garrett
On Fri, Nov 02, 2012 at 11:38:23PM +, James Bottomley wrote: > On Fri, 2012-11-02 at 18:04 +, Matthew Garrett wrote: > > A user runs a binary that elevates itself to admin. Absent any flaws in > > Windows (cough), that should be all it can do in a Secure Boot world. > > But if you can

Re: [RFC] Suspend/resume without VT switches

2012-11-02 Thread Jesse Barnes
On 11/2/2012 4:38 PM, Rafael J. Wysocki wrote: On Friday, November 02, 2012 04:29:37 PM Jesse Barnes wrote: On Fri, 02 Nov 2012 22:51:07 +0100 "Rafael J. Wysocki" wrote: On Friday, November 02, 2012 02:43:39 PM Jesse Barnes wrote: I've lightly tested this with X and it definitely makes my

Re: [PATCH 1/2] PM: make VT switching to the suspend console optional

2012-11-02 Thread Jesse Barnes
On 11/2/2012 4:43 PM, Alan Cox wrote: On Fri, 2 Nov 2012 14:43:40 -0700 Jesse Barnes wrote: KMS drivers can potentially restore the display configuration without userspace help. Such drivers can set a new global, pm_vt_switch, to false if they support this feature. In that case, the PM

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Matthew Garrett
On Fri, Nov 02, 2012 at 03:03:02PM -0700, Eric W. Biederman wrote: > I don't want my system p0wned in the first place and I don't want to run > windows. Why should I trust Microsoft's signing key? There's no reason to. Systems that don't trust Microsoft's signing key have no reason to be

mmotm 2012-11-02-17-15 uploaded

2012-11-02 Thread akpm
The mm-of-the-moment snapshot 2012-11-02-17-15 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: setting up CDB filters in udev (was Re: [PATCH v2 0/3] block: add queue-private command filter, editable via sysfs)

2012-11-02 Thread Alan Cox
On Fri, 2 Nov 2012 16:58:11 -0700 Tejun Heo wrote: > Hello, Alan. > > On Fri, Nov 02, 2012 at 11:52:43PM +, Alan Cox wrote: > > Really. Can your filter implement it only for certain commands, and only > > for certain vendor specific commands ? Not really because your filter is > > fixed -

Re: [RESEND][PATCH v4 0/7] efi_pstore: multiple event logging support

2012-11-02 Thread Mike Waychison
Series Acked-by: Mike Waychison Tony: Did you want to pull this? On Thu, Nov 1, 2012 at 3:59 PM, Seiji Aguchi wrote: > Changelog > > v3 -> v4 >- Rebase to 3.7-rc3 >- Add ctime to an argument of efi_pstore_erase to build successfully > in case where CONFIG_PTORE=n is specified.

Re: setting up CDB filters in udev (was Re: [PATCH v2 0/3] block: add queue-private command filter, editable via sysfs)

2012-11-02 Thread Tejun Heo
Hello, Alan. On Fri, Nov 02, 2012 at 11:52:43PM +, Alan Cox wrote: > Really. Can your filter implement it only for certain commands, and only > for certain vendor specific commands ? Not really because your filter is > fixed - it has policy in kernel which is the wrong place for device >

[GIT PULL] Power management update for v3.7-rc4

2012-11-02 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.7-rc4 to receive one power management update for v3.7-rc4 as commit 29c4bcddaa62e2b9fd2ba85668f6718b0b43f0e3 cpufreq / powernow-k8: Change maintainer's email address

Re: setting up CDB filters in udev (was Re: [PATCH v2 0/3] block: add queue-private command filter, editable via sysfs)

2012-11-02 Thread Alan Cox
> > - giving people access to parts of disks > > Are we gonna implement random range restriction inside a partition > too? If we want to check against partition ranges for allowed SG_IO > commands, by all means, but it can easily be implemented as part of > the fixed filter. Really. Can your

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Alan Cox
On Fri, 02 Nov 2012 16:19:39 -0600 Chris Friesen wrote: > On 11/02/2012 04:03 PM, Eric W. Biederman wrote: > > Matthew Garrett writes: > > > >> On Fri, Nov 02, 2012 at 01:49:25AM -0700, Eric W. Biederman wrote: > >> > >>> When the goal is to secure Linux I don't see how any of this helps. > >>>

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread James Bottomley
On Fri, 2012-11-02 at 18:04 +, Matthew Garrett wrote: > On Fri, Nov 02, 2012 at 05:57:38PM +, James Bottomley wrote: > > On Fri, 2012-11-02 at 17:54 +, Matthew Garrett wrote: > > > ? That's the message generated by the Windows access control mechanism > > > when you run a binary that

Re: [PATCH 1/2] PM: make VT switching to the suspend console optional

2012-11-02 Thread Alan Cox
On Fri, 2 Nov 2012 14:43:40 -0700 Jesse Barnes wrote: > KMS drivers can potentially restore the display configuration without > userspace help. Such drivers can set a new global, pm_vt_switch, to > false if they support this feature. In that case, the PM layer won't VT > switch to the suspend

Re: drivres/hv

2012-11-02 Thread Greg KH
On Fri, Nov 02, 2012 at 03:11:23PM -0700, K. Y. Srinivasan wrote: > > Greg, > > Recently, I had re-sent a few patches. You have applied all the patches > except the balloon driver > related patches. Should I resend the balloon driver patches. Let me know. I can't apply the balloon driver

Re: [PATCH] memcg: fix hotplugged memory zone oops

2012-11-02 Thread Hugh Dickins
On Fri, 2 Nov 2012, Michal Hocko wrote: > On Fri 02-11-12 11:21:59, Michal Hocko wrote: > > On Thu 01-11-12 18:28:02, Hugh Dickins wrote: > [...] > > And I forgot to mention that the following hunk will clash with > "memcg: Simplify mem_cgroup_force_empty_list error handling" which is in >

Re: [PATCH] printk: drop ambiguous LOG_CONT flag

2012-11-02 Thread Greg Kroah-Hartman
On Fri, Nov 02, 2012 at 11:37:10PM +0100, "Jan H. Schönherr" wrote: > Am 02.11.2012 04:53, schrieb Kay Sievers: > > On Mon, Oct 8, 2012 at 9:56 PM, Kay Sievers wrote: > >> On Mon, Oct 8, 2012 at 9:54 PM, "Jan H. Schönherr" > > > Jan, > any updates, did you try something else? > Or

Re: [RFC] Suspend/resume without VT switches

2012-11-02 Thread Rafael J. Wysocki
On Friday, November 02, 2012 04:29:37 PM Jesse Barnes wrote: > On Fri, 02 Nov 2012 22:51:07 +0100 > "Rafael J. Wysocki" wrote: > > > On Friday, November 02, 2012 02:43:39 PM Jesse Barnes wrote: > > > I've lightly tested this with X and it definitely makes my > > > suspend/resume sequence a bit

Re: [PATCH] memcg: fix hotplugged memory zone oops

2012-11-02 Thread Hugh Dickins
On Fri, 2 Nov 2012, Michal Hocko wrote: > > OK, it adds "an overhead" also when there is no hotadd going on but this > is just one additional mem access so it shouldn't be noticable > (lruvec->zone is used most of the time later so it not a pointless > load). I think so too. > It is also easier

Re: [RFC] Suspend/resume without VT switches

2012-11-02 Thread Jesse Barnes
On Fri, 02 Nov 2012 22:51:07 +0100 "Rafael J. Wysocki" wrote: > On Friday, November 02, 2012 02:43:39 PM Jesse Barnes wrote: > > I've lightly tested this with X and it definitely makes my > > suspend/resume sequence a bit prettier. It should speed things up > > trivally as well, but most of

Re: shmem_getpage_gfp VM_BUG_ON triggered. [3.7rc2]

2012-11-02 Thread Hugh Dickins
On Thu, 1 Nov 2012, Dave Jones wrote: > On Thu, Nov 01, 2012 at 04:48:41PM -0700, Hugh Dickins wrote: > > > > Fedora turns on CONFIG_DEBUG_VM? > > Yes. > > > All mm developers should thank you for the wider testing exposure; > > but I'm not so sure that Fedora users should thank you for

Re: Linux 3.7-rc3

2012-11-02 Thread Linus Torvalds
On Fri, Nov 2, 2012 at 3:43 PM, Rafael J. Wysocki wrote: > > Well, not everything is rosy in the suspend land, though. This is a > failure to freeze khubd during the second in a row attempt to suspend to > RAM (your current tree): Ugh. So khubd is blocked in usb_start_wait_urb(), and apparently

Re: [PATCH 2/2 v5] block/throttle: Add IO submitted information in blkio.throttle

2012-11-02 Thread Tejun Heo
On Fri, Nov 02, 2012 at 05:31:37PM +0800, Robin Dong wrote: > From: Robin Dong > > Currently, if the IO is throttled by io-throttle, the system admin has no idea > of the situation and can't report it to the real application user about that > he/she has to do something. > > So this patch adds a

Re: [PATCH 00/31] numa/core patches

2012-11-02 Thread Hugh Dickins
On Fri, 2 Nov 2012, Zhouping Liu wrote: > On 11/01/2012 09:41 PM, Hugh Dickins wrote: > > > > Here's a patch fixing and tidying up that and a few other things there. > > But I'm not signing it off yet, partly because I've barely tested it > > (quite probably I didn't even have any numa pmd

Re: [PATCH v6 00/29] kmem controller for memcg.

2012-11-02 Thread Tejun Heo
Hey, Joonsoo. On Sat, Nov 03, 2012 at 04:25:59AM +0900, JoonSoo Kim wrote: > I am worrying about data cache footprint which is possibly caused by > this patchset, especially slab implementation. > If there are several memcg cgroups, each cgroup has it's own kmem_caches. > When each group do

Re: fs/proc/base.c: text md5sums; tgid vs tid; and INF vs ONE?

2012-11-02 Thread Arvid Brodin
On 2012-11-01 21:29, Arvid Brodin wrote: > On 2012-10-30 23:45, Eric W. Biederman wrote: >> I recommend you checkout the code in security/ima/ looks like it can >> already do what you are trying to do. > > Ah. I did actually check this out a year and a half ago or something like > that. Seems

Re: setting up CDB filters in udev (was Re: [PATCH v2 0/3] block: add queue-private command filter, editable via sysfs)

2012-11-02 Thread Tejun Heo
Hello, Alan. On Fri, Nov 02, 2012 at 08:48:25PM +, Alan Cox wrote: > If you look back through the archive you'll find people have been > spending a good decade bitching about the lack of filter configurability > and trying to get someone else to fix it. > > The BPF filter is simpler than

[git pull] Input updates for 3.7-rc0

2012-11-02 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Just a few driver fixes. Changelog: - Hui Wang (1):

Re: [PATCH 00/16 v3] f2fs: introduce flash-friendly file system

2012-11-02 Thread Kim Jaegeuk
2012/11/2 Martin Steigerwald > > Am Mittwoch, 31. Oktober 2012 schrieb Jaegeuk Kim: > > Change log from v2: > > > > o Fix compilation error for arm [Max] > > o Move proc entries to debugfs [Greg] > > o Add i_atime, i_generation, etc [Neil] > > o Support NFS export [Changman] > > o Move the

[PATCH 3/8][RFC] ftrace: Optimize the function tracer list loop

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt There is lots of places that perform: op = rcu_dereference_raw(ftrace_control_list); while (op != _list_end) { Add a helper macro to do this, and also optimize for a single entity. That is, gcc will optimize a loop for either no iterations or more than one

[PATCH 8/8][RFC] ring-buffer: User context bit recursion checking

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt Using context bit recursion checking, we can help increase the performance of the ring buffer. Before this patch: # echo function > /debug/tracing/current_tracer # for i in `seq 10`; do ./hackbench 50; done Time: 10.285 Time: 10.407 Time: 10.243 Time: 10.372 Time: 10.380

[PATCH 5/8][RFC] tracing: Make the trace recursion bits into enums

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt Convert the bits into enums which makes the code a little easier to maintain. Signed-off-by: Steven Rostedt --- kernel/trace/trace.h | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/kernel/trace/trace.h

[PATCH 6/8][RFC] tracing: Avoid unnecessary multiple recursion checks

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt When function tracing occurs, the following steps are made: If arch does not support a ftrace feature: call internal function (uses INTERNAL bits) which calls... If callback is registered to the "global" list, the list function is called and recursion checks the

[PATCH 7/8][RFC] ftrace: Use only the preempt version of function tracing

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt The function tracer had two different versions of function tracing. The disabling of irqs version and the preempt disable version. As function tracing in very intrusive and can cause nasty recursion issues, it has its own recursion protection. But the old method to do this

[PATCH 4/8][RFC] ftrace: Add context level recursion bit checking

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt Currently for recursion checking in the function tracer, ftrace tests a task_struct bit to determine if the function tracer had recursed or not. If it has, then it will will return without going further. But this leads to races. If an interrupt came in after the bit was

[PATCH 0/8][RFC] tracing: Using recursion bits for function tracing and ring buffer

2012-11-02 Thread Steven Rostedt
A couple of months ago I was playing with getting recursion fixed with the function tracer. There's a lot of places that could use improvements, and I also found a few cases where the recursion protection would have false positives causing missed function tracing. I implemented a per context bit

[PATCH 2/8][RFC] ftrace: Fix function tracing recursion self test

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt The function tracing recursion self test should not crash the machine if the resursion test fails. If it detects that the function tracing is recursing when it should not be, then bail, don't go into an infinite recursive loop. Signed-off-by: Steven Rostedt ---

[PATCH 1/8][RFC] ftrace: Fix global function tracers that are not recursion safe

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt If one of the function tracers set by the global ops is not recursion safe, it can still be called directly without the added recursion supplied by the ftrace infrastructure. Signed-off-by: Steven Rostedt --- kernel/trace/ftrace.c | 18 -- 1 file

Re: [PATCH v2 4/5] mm, highmem: makes flush_all_zero_pkmaps() return index of first flushed entry

2012-11-02 Thread Minchan Kim
Hi Joonsoo, On Sat, Nov 03, 2012 at 04:07:25AM +0900, JoonSoo Kim wrote: > Hello, Minchan. > > 2012/11/1 Minchan Kim : > > On Thu, Nov 01, 2012 at 01:56:36AM +0900, Joonsoo Kim wrote: > >> In current code, after flush_all_zero_pkmaps() is invoked, > >> then re-iterate all pkmaps. It can be

[PATCH] Wireless: rt2x00: Add device id for Sweex LW323 to rt2800usb.c

2012-11-02 Thread Jaume Delclòs Coll
From: Jaume Delclòs This patch adds detection for the Sweex LW323 USB wireless network card in the rt2x00 driver (just one line in rt2800usb.c). It applies to linux-3.7-rc3. Signed-off-by: Jaume Delclòs --- linux-3.7-rc3/drivers/net/wireless/rt2x00/rt2800usb.c.orig 2012-11-02

Re: Linux 3.7-rc3

2012-11-02 Thread Rafael J. Wysocki
On Friday, November 02, 2012 03:26:22 PM Linus Torvalds wrote: > On Fri, Nov 2, 2012 at 3:23 PM, Rafael J. Wysocki wrote: > > > > Well, it appears that Tumbleweed has acquired a broken s2disk binary. > > Replace it with one built from upstream sources and it magically starts to > > work. Grumble.

Re: [PATCH] printk: drop ambiguous LOG_CONT flag

2012-11-02 Thread Jan H. Schönherr
Am 02.11.2012 04:53, schrieb Kay Sievers: > On Mon, Oct 8, 2012 at 9:56 PM, Kay Sievers wrote: >> On Mon, Oct 8, 2012 at 9:54 PM, "Jan H. Schönherr" > Jan, any updates, did you try something else? Or should we merge the first version for now? >>> >>> I'm working on it, though I

Re: [PATCH RT 3/4] net: netfilter: Serialize xt_write_recseq sections on RT

2012-11-02 Thread Peter LaDow
On a separate note, I want to thank everyone that helped with this issue, especially Eric and Thomas, to and Steven and Thomas for schooling me on the changelog extraction. This problem was a big one for us that we were struggling to understand. All the help is greatly appreciated. Thanks, Pete

Re: Linux 3.7-rc3

2012-11-02 Thread Linus Torvalds
On Fri, Nov 2, 2012 at 3:23 PM, Rafael J. Wysocki wrote: > > Well, it appears that Tumbleweed has acquired a broken s2disk binary. > Replace it with one built from upstream sources and it magically starts to > work. Grumble. > > Sorry for the noise. Heh. This was the report that so far made me

Re: [PATCH RT 3/4] net: netfilter: Serialize xt_write_recseq sections on RT

2012-11-02 Thread Peter LaDow
On Thu, Nov 1, 2012 at 5:36 PM, Peter LaDow wrote: > I'm have a setup running 3.0.48-rt72. It's been running about 8 hours > so far, and tomorrow I'll know if there's been any problems. I'm > confident things will be fine tomorrow, and at that time I'll be glad > to attach a Tested-by tag. Ok.

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Chris Friesen
On 11/02/2012 04:03 PM, Eric W. Biederman wrote: Matthew Garrett writes: On Fri, Nov 02, 2012 at 01:49:25AM -0700, Eric W. Biederman wrote: When the goal is to secure Linux I don't see how any of this helps. Windows 8 compromises are already available so if we turn most of these arguments

Re: Linux 3.7-rc3

2012-11-02 Thread Rafael J. Wysocki
On Friday, November 02, 2012 10:56:22 PM Rafael J. Wysocki wrote: > On Friday, November 02, 2012 10:43:02 PM Daniel Vetter wrote: > > On Fri, Nov 2, 2012 at 10:40 PM, Rafael J. Wysocki wrote: > > > Can you point me to a range of commits worth checking? > > > >

[ANNOUNCE] 3.6.5-rt15

2012-11-02 Thread Thomas Gleixner
Dear RT Folks, I'm pleased to announce the 3.6.5-rt15 brown paper bag release. Changes since 3.6.5-rt14: * Fix typos and other stupidities^Wcrimes committed by an overworked and tired RT maintainer (courtesy Paul Gortmaker) The embarrasing delta patch against 3.6.5-rt14 is appended

[GIT PULL] target fixes for v3.7-rc4 (round 2)

2012-11-02 Thread Nicholas A. Bellinger
Hello Linus, This series is a second round of target fixes for v3.7-rc4 that have come into target-devel over the last days, and are important enough to be applied ASAP. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master All are being

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Eric W. Biederman
Matthew Garrett writes: > On Fri, Nov 02, 2012 at 01:49:25AM -0700, Eric W. Biederman wrote: > >> When the goal is to secure Linux I don't see how any of this helps. >> Windows 8 compromises are already available so if we turn most of these >> arguments around I am certain clever attackers can

[tip:x86/timers] x86: hpet: Fix inverted return value check in arch_setup_hpet_msi()

2012-11-02 Thread tip-bot for Jan Beulich
Commit-ID: 5074b85bdd3a464efe7b6de2ec163f4c07696a20 Gitweb: http://git.kernel.org/tip/5074b85bdd3a464efe7b6de2ec163f4c07696a20 Author: Jan Beulich AuthorDate: Fri, 2 Nov 2012 14:00:29 + Committer: Thomas Gleixner CommitDate: Fri, 2 Nov 2012 22:53:27 +0100 x86: hpet: Fix inverted

[tip:x86/timers] x86: hpet: Fix masking of MSI interrupts

2012-11-02 Thread tip-bot for Jan Beulich
Commit-ID: 6acf5a8c931da9d26c8dd77d784daaf07fa2bff0 Gitweb: http://git.kernel.org/tip/6acf5a8c931da9d26c8dd77d784daaf07fa2bff0 Author: Jan Beulich AuthorDate: Fri, 2 Nov 2012 14:02:40 + Committer: Thomas Gleixner CommitDate: Fri, 2 Nov 2012 22:53:27 +0100 x86: hpet: Fix masking of

Re: Linux 3.7-rc3

2012-11-02 Thread Rafael J. Wysocki
On Friday, November 02, 2012 10:43:02 PM Daniel Vetter wrote: > On Fri, Nov 2, 2012 at 10:40 PM, Rafael J. Wysocki wrote: > > Can you point me to a range of commits worth checking? > > 8c3f929b6147e142..57df2ae9df6e335a98969cac is the core rework (plus a > bit related follow-up) without any

Re: [PATCH] IRQ CORE: irq_work_queue function return value not used.

2012-11-02 Thread Thomas Gleixner
On Fri, 2 Nov 2012, Steven Rostedt wrote: > On Fri, 2012-11-02 at 22:24 +0900, anish kumar wrote: > > From: anish kumar > > > > As no one is using the return value of irq_work_queue function > > it is better to just make it void. > > Acked-by: Steven Rostedt > > Peter, like to take this

drivres/hv

2012-11-02 Thread K. Y. Srinivasan
Greg, Recently, I had re-sent a few patches. You have applied all the patches except the balloon driver related patches. Should I resend the balloon driver patches. Let me know. Regards, K. Y -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[patch,v2 03/10] scsi: make scsi_alloc_sdev numa-aware

2012-11-02 Thread Jeff Moyer
Use the numa node id set in the Scsi_Host to allocate the sdev structure on the device-local numa node. Signed-off-by: Jeff Moyer --- drivers/scsi/scsi_scan.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index

[patch,v2 04/10] scsi: allocate scsi_cmnd-s from the device's local numa node

2012-11-02 Thread Jeff Moyer
Signed-off-by: Jeff Moyer --- drivers/scsi/scsi.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 2936b44..4db6973 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c @@ -173,16 +173,20 @@ static

[patch,v2 05/10] sd: use alloc_disk_node

2012-11-02 Thread Jeff Moyer
Signed-off-by: Jeff Moyer --- drivers/scsi/sd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 12f6fdf..8deb915 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -2714,7 +2714,7 @@ static int sd_probe(struct device

[patch,v2 02/10] scsi: make __scsi_alloc_queue numa-aware

2012-11-02 Thread Jeff Moyer
Pass the numa node id set in the Scsi_Host on to blk_init_queue_node in order to keep all allocations local to the numa node the device is closest to. Signed-off-by: Jeff Moyer --- drivers/scsi/scsi_lib.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[patch,v2 01/10] scsi: add scsi_host_alloc_node

2012-11-02 Thread Jeff Moyer
Allow an LLD to specify on which numa node to allocate scsi data structures. Thanks to Bart Van Assche for the suggestion. Signed-off-by: Jeff Moyer --- drivers/scsi/hosts.c | 13 +++-- include/scsi/scsi_host.h |8 2 files changed, 19 insertions(+), 2 deletions(-)

  1   2   3   4   5   6   7   8   9   10   >