[GIT PULL] Power management fixes for 3.6-rc2

2012-08-10 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-rc2 to receive power management fixes for v3.6-rc2 with top-most commit 07368d32f1a67e797def08cf2ee3ea1647b204b6 tpm_tis / PM: Fix unused function warning for

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-10 Thread Daniel Vetter
On Fri, Aug 10, 2012 at 04:57:52PM +0200, Maarten Lankhorst wrote: > A dma-fence can be attached to a buffer which is being filled or consumed > by hw, to allow userspace to pass the buffer without waiting to another > device. For example, userspace can call page_flip ioctl to display the > next

Re: [PATCH 1/2] radio-shark: Only compile led support when CONFIG_LED_CLASS is set

2012-08-10 Thread Mauro Carvalho Chehab
Em 10-08-2012 16:58, Hans de Goede escreveu: > Reported-by: Dadiv Rientjes > Signed-off-by: Hans de Goede > --- > drivers/media/radio/radio-shark.c | 26 -- > 1 file changed, 24 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/radio/radio-shark.c >

Re: Q: how to control the TTY output queue in real time?

2012-08-10 Thread Alan Cox
> If they do quite fine with the fifo, then maybe the new > function will do too? Its basically a tcdrain(), just with > the controllable watermark I guess. I guess providing you account the fifo, and any hardware flow control it would work. -- To unsubscribe from this list: send the line

Re: [PATCH v3 0/6] omap-am33xx rtc dt support

2012-08-10 Thread Sekhar Nori
On 7/27/2012 5:53 PM, Afzal Mohammed wrote: > Hi, > > This series makes rtc-omap driver DT capable, adds AM33xx > RTC DT support along with a few enchancments to the driver. > > rtc-omap driver is made intelligent enough to handle kicker > mechanism. This helps in removing kicker mechanism

[PATCH 1/2] radio-shark: Only compile led support when CONFIG_LED_CLASS is set

2012-08-10 Thread Hans de Goede
Reported-by: Dadiv Rientjes Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/drivers/media/radio/radio-shark.c b/drivers/media/radio/radio-shark.c index c2ead23..f746ed0 100644 ---

Re: Q: how to control the TTY output queue in real time?

2012-08-10 Thread Stas Sergeev
Hi Alan, thanks, clear enough now. :) 10.08.2012 23:33, Alan Cox wrote: if (bytes_left < constant) write_wakeup and I suspect if you made that adjustable and turned off the fifo and any other funnies you'd at least make it work for a sufficiently rigged demo. You

[PATCH 2/2] radio-shark2: Only compile led support when CONFIG_LED_CLASS is set

2012-08-10 Thread Hans de Goede
Reported-by: Dadiv Rientjes Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark2.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/drivers/media/radio/radio-shark2.c b/drivers/media/radio/radio-shark2.c index b9575de..e593d5a 100644

Re: [Linaro-mm-sig] [PATCH 3/4] dma-seqno-fence: Hardware dma-buf implementation of fencing (v2)

2012-08-10 Thread Daniel Vetter
On Fri, Aug 10, 2012 at 04:57:58PM +0200, Maarten Lankhorst wrote: > This type of fence can be used with hardware synchronization for simple > hardware that can block execution until the condition > (dma_buf[offset] - value) >= 0 has been met. > > A software fallback still has to be provided in

Re: [Linaro-mm-sig] [PATCH 1/4] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-08-10 Thread Daniel Vetter
On Fri, Aug 10, 2012 at 04:57:43PM +0200, Maarten Lankhorst wrote: > Documentation says that code requiring dma-buf should add it to > select, so inline fallbacks are not going to be used. A link error > will make it obvious what went wrong, instead of silently doing > nothing at runtime. > >

Q: how to control the TTY output queue in real time?

2012-08-10 Thread Stas Sergeev
Hello. I am writing an app that needs to control the serial xmit in real-time. What I need is a notification that the TTY output queue fillup (returned by TIOCOUTQ ioctl) have dropped below the specified value. I haven't found anything that can help implementing this. If I can't get an async

Re: Q: how to control the TTY output queue in real time?

2012-08-10 Thread Alan Cox
> I am writing an app that needs to control the > serial xmit in real-time. What I need is a notification > that the TTY output queue fillup (returned by TIOCOUTQ > ioctl) have dropped below the specified value. Not a supported feature basically. > I haven't found anything that can help

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-10 Thread Matthew Garrett
On Fri, Aug 10, 2012 at 12:22:12PM -0700, Yinghai Lu wrote: > What is solution for this regression? Revert the patch for now, we'll add it back once we've got the UEFI pagetable set up. -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread Alan Cox
On Fri, 10 Aug 2012 15:11:50 -0400 "J. Bruce Fields" wrote: > On Fri, Aug 10, 2012 at 07:26:28PM +0100, Alan Cox wrote: > > > On that whole subject... > > > > > > Do we need a Unix domain socket equivalent to openat()? > > > > I don't think so. The name is just a file system indexing trick,

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-10 Thread Yinghai Lu
On Thu, Aug 9, 2012 at 1:51 AM, Matt Fleming wrote: > On Tue, 2012-08-07 at 11:50 +0100, Jan Beulich wrote: >> > >> > I managed to find a machine to reproduce this on and it looks like the >> > ASUS firmware engineers are upto their old tricks of referencing >> > physical addresses after we've

Re: [PATCH 02/15] Declaring udp protocols has its own proc entry

2012-08-10 Thread Jan Ceuleers
On 08/10/2012 08:31 PM, Jan Ceuleers wrote: > Two points: > > - I haven't seen patch 01/15; Correction: I have. > - these patches should go to netdev rather than lkml But this is still the case; MAINTAINERS would have told you that. -- To unsubscribe from this list: send the line "unsubscribe

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread J. Bruce Fields
On Fri, Aug 10, 2012 at 07:26:28PM +0100, Alan Cox wrote: > > On that whole subject... > > > > Do we need a Unix domain socket equivalent to openat()? > > I don't think so. The name is just a file system indexing trick, it's not > really the socket proper. It's little more than "ascii string

[ANNOUNCE] 3.0.40-rt60

2012-08-10 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.0.40-rt60 stable release. This release is just an update to the new stable 3.0.40 version and no RT specific changes have been made. You can get this release via the git tree at:

[PATCH] printk: Fix calculation of length used to discard records

2012-08-10 Thread Jeff Mahoney
While tracking down a weird buffer overflow issue in a program that looked to be sane, I started double checking the length returned by syslog(SYSLOG_ACTION_READ_ALL, ...) to make sure it wasn't overflowing the buffer. Sure enough, it was. I saw this in strace: 11339

[GIT PULL 0/3] arm-soc updates

2012-08-10 Thread Arnd Bergmann
Hi Linus, Here are three pull requests for you to consider for the next -rc. The first one is our regular bug fix series, this time with a lot of patches fixing build regressions. Please pull at least this one. The other two are things that fell through the cracks in the v3.6 merge window

[GIT PULL 3/3] arm-soc: make of_device_id->data constant

2012-08-10 Thread Arnd Bergmann
The following changes since commit 28a33cbc24e4256c143dce96c7d93bf423229f92: Linux 3.5 (2012-07-21 13:58:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/late-warnings for you to fetch changes up to

[GIT PULL 2/3] arm-soc: late at91 changes

2012-08-10 Thread Arnd Bergmann
The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/late-at91-mci for you to fetch changes up to

[GIT PULL 1/3] arm-soc: bug fixes for v3.6-rc2

2012-08-10 Thread Arnd Bergmann
The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-for-linus for you to fetch changes up to

Re: i915 regression on 3.6-rc1: lid blanks screen

2012-08-10 Thread Hugh Dickins
On Fri, 10 Aug 2012, Takashi Iwai wrote: > At Fri, 10 Aug 2012 14:35:13 +0200, > Daniel Vetter wrote: > > > > On Fri, Aug 10, 2012 at 1:59 PM, Takashi Iwai wrote: > > > At Mon, 6 Aug 2012 11:25:30 -0700 (PDT), > > > Hugh Dickins wrote: > > >> > > >> On Mon, 6 Aug 2012, Daniel Vetter wrote: > >

Re: [PATCH v2 02/11] memcg: Reclaim when more than one page needed.

2012-08-10 Thread Michal Hocko
On Thu 09-08-12 17:01:10, Glauber Costa wrote: > From: Suleiman Souhlal > > mem_cgroup_do_charge() was written before kmem accounting, and expects > three cases: being called for 1 page, being called for a stock of 32 > pages, or being called for a hugepage. If we call for 2 or 3 pages (and >

Re: [PATCH v2 02/11] memcg: Reclaim when more than one page needed.

2012-08-10 Thread Michal Hocko
On Fri 10-08-12 19:30:00, Michal Hocko wrote: > On Thu 09-08-12 17:01:10, Glauber Costa wrote: > [...] > > For now retry up to COSTLY_ORDER (as page_alloc.c does) and make sure > > not to do it if __GFP_NORETRY. > > Who is using __GFP_NORETRY for user backed memory (except for hugetlb > which has

Re: mellanox mlx4_core and SR-IOV

2012-08-10 Thread Chris Friesen
On 08/03/2012 02:33 AM, Lukas Hejtmanek wrote: I also tried OFED package from Mellanox which seems to have better SR-IOV support (at least mlx4_ib does not complain that SR-IOV is not supported). However, it does not work when SR-IOV enabled: Last I heard they were not officially providing

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread Stanislav Kinsbursky
10.08.2012 22:15, H. Peter Anvin пишет: On 08/10/2012 05:57 AM, Stanislav Kinsbursky wrote: Today, there is a problem in connecting of local SUNRPC thansports. These transports uses UNIX sockets and connection itself is done by rpciod workqueue. But UNIX sockets lookup is done in context of

pull request: wireless 2012-08-10

2012-08-10 Thread John W. Linville
commit 039aafba1b57ed39acb3abc290c11be37402feb2 Dave, Here is a handful of fixes intended for 3.6. Daniel Drake offers a cfg80211 fix to consume pending events before taking a wireless device down. This prevents a resource leak. Stanislaw Gruszka gives us a fix for a NULL pointer dereference

[PATCH] staging: csr: Fix up version.h includes

2012-08-10 Thread Jesper Juhl
Include version.h where actually needed, remove where unneeded. Signed-off-by: Jesper Juhl --- drivers/staging/csr/csr_panic.c| 1 - drivers/staging/csr/drv.c | 3 +-- drivers/staging/csr/io.c | 2 +- drivers/staging/csr/monitor.c | 3

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread H. Peter Anvin
On 08/10/2012 11:40 AM, Alan Cox wrote: > > Agreed on open() for sockets.. the lack of open is a Berklix derived > pecularity of the interface. It would equally be useful to be able to > open "/dev/socket/ipv4/1.2.3.4/1135" and the like for scripts and stuff > > That needs VFS changes however so

Re: [RFC PATCH 1/2] unix sockets: add ability for search for peer from passed root

2012-08-10 Thread Stanislav Kinsbursky
10.08.2012 22:10, J. Bruce Fields пишет: On Fri, Aug 10, 2012 at 04:57:30PM +0400, Stanislav Kinsbursky wrote: This helper is used stream sockets yet. All is simple: if non-NULL struct path was passed to unix_find_other(), then vfs_path_lookup() is called instead of kern_path(). I'm having

Re: [lm-sensors] hwmon : raw reading -> temperature conversion

2012-08-10 Thread Guenter Roeck
On Fri, Aug 10, 2012 at 07:48:14PM +0530, Bitan Biswas wrote: > Hi, > > I have a question related to hwmon driver and need suggestions. > > I am working on a temperature sensor driver that is hwmon driver. > - The temperature is calculated from raw sensor reading and > certain initialization

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread Alan Cox
> > AF_UNIX between roots raises some interesting semantic questions when > > you begin passing file descriptors down them as well. > > Why is that? A file descriptor carries all that information with it... Things like fchdir(). It's not a machine breaking problem but for containers as opposed

Re: [PATCH v5 11/12] KVM: x86: introduce set_mmio_exit_info

2012-08-10 Thread Marcelo Tosatti
On Tue, Aug 07, 2012 at 05:54:42PM +0800, Xiao Guangrong wrote: > Introduce set_mmio_exit_info to cleanup the common code > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/x86.c | 33 + > 1 files changed, 17 insertions(+), 16 deletions(-) > > diff --git

Re: [PATCH v5 00/12] KVM: introduce readonly memslot

2012-08-10 Thread Marcelo Tosatti
On Tue, Aug 07, 2012 at 05:47:15PM +0800, Xiao Guangrong wrote: > Changelog: > - introduce KVM_PFN_ERR_RO_FAULT instead of dummy page > - introduce KVM_HVA_ERR_BAD and optimize error hva indicators > > The test case can be found at: >

Re: [PATCH v5 05/12] KVM: reorganize hva_to_pfn

2012-08-10 Thread Marcelo Tosatti
On Tue, Aug 07, 2012 at 05:51:05PM +0800, Xiao Guangrong wrote: > We do too many things in hva_to_pfn, this patch reorganize the code, > let it be better readable > > Signed-off-by: Xiao Guangrong > --- > virt/kvm/kvm_main.c | 159 > +++ > 1

Re: [PATCH 02/15] Declaring udp protocols has its own proc entry

2012-08-10 Thread Jan Ceuleers
On 08/10/2012 04:05 PM, Masatake YAMATO wrote: > Declaring udp protocols has its own proc entry. > > Signed-off-by: Masatake YAMATO > --- > net/ipv4/udp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c > index b4c3582..2b822ac 100644 > ---

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread H. Peter Anvin
On 08/10/2012 11:26 AM, Alan Cox wrote: >> On that whole subject... >> >> Do we need a Unix domain socket equivalent to openat()? > > I don't think so. The name is just a file system indexing trick, it's not > really the socket proper. It's little more than "ascii string with > permissions

Re: 3.5.1 ext4_ sleeping while atomic bug.

2012-08-10 Thread Theodore Ts'o
Hi Dave, Thanks for the bug report! The following should address the bug which you found. - Ted >From 05ca87aa00121756b5d41f3d71eb8b51bed3bc92 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 10 Aug 2012 13:57:52 -0400 Subject: [PATCH]

Re: [PATCH][trivial] ASoC: isabelle: Remove unneeded include of version.h

2012-08-10 Thread Mark Brown
On Fri, Aug 10, 2012 at 08:21:51PM +0200, Jesper Juhl wrote: > On Fri, 10 Aug 2012, Mark Brown wrote: > > Not sure what this patch is against, there appears to be no include of > > version.h in current code... > It's against Linus's tree. I created a branch off of master at >

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread Alan Cox
> On that whole subject... > > Do we need a Unix domain socket equivalent to openat()? I don't think so. The name is just a file system indexing trick, it's not really the socket proper. It's little more than "ascii string with permissions attached" - indeed we also support an abstract name

Re: [PATCH][trivial] ASoC: isabelle: Remove unneeded include of version.h

2012-08-10 Thread Jesper Juhl
On Fri, 10 Aug 2012, Mark Brown wrote: > On Fri, Aug 10, 2012 at 08:12:57PM +0200, Jesper Juhl wrote: > > There is no need to include version.h in sound/soc/codecs/isabelle.c - > > this patch removes the pointless include. > > Not sure what this patch is against, there appears to be no include

Re: [PATCH][trivial] ASoC: isabelle: Remove unneeded include of version.h

2012-08-10 Thread Mark Brown
On Fri, Aug 10, 2012 at 08:12:57PM +0200, Jesper Juhl wrote: > There is no need to include version.h in sound/soc/codecs/isabelle.c - > this patch removes the pointless include. Not sure what this patch is against, there appears to be no include of version.h in current code... -- To unsubscribe

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread H. Peter Anvin
On 08/10/2012 05:57 AM, Stanislav Kinsbursky wrote: > Today, there is a problem in connecting of local SUNRPC thansports. These > transports uses UNIX sockets and connection itself is done by rpciod > workqueue. > But UNIX sockets lookup is done in context of process file system root. I.e. > all

Re: [PATCH 0/4] promote zcache from staging

2012-08-10 Thread Seth Jennings
On 08/09/2012 03:20 PM, Dan Magenheimer wrote > I also wonder if you have anything else unusual in your > test setup, such as a fast swap disk (mine is a partition > on the same rotating disk as source and target of the kernel build, > the default install for a RHEL6 system)? I'm using a normal

[PATCH][trivial] ASoC: isabelle: Remove unneeded include of version.h

2012-08-10 Thread Jesper Juhl
There is no need to include version.h in sound/soc/codecs/isabelle.c - this patch removes the pointless include. Signed-off-by: Jesper Juhl --- sound/soc/codecs/isabelle.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/isabelle.c b/sound/soc/codecs/isabelle.c index

Re: [RFC PATCH 1/2] unix sockets: add ability for search for peer from passed root

2012-08-10 Thread J. Bruce Fields
On Fri, Aug 10, 2012 at 04:57:30PM +0400, Stanislav Kinsbursky wrote: > This helper is used stream sockets yet. > All is simple: if non-NULL struct path was passed to unix_find_other(), then > vfs_path_lookup() is called instead of kern_path(). I'm having some trouble parsing the changelog.

Re: [PATCH v2 02/11] memcg: Reclaim when more than one page needed.

2012-08-10 Thread Kamezawa Hiroyuki
(2012/08/11 2:28), Michal Hocko wrote: On Sat 11-08-12 01:49:25, KAMEZAWA Hiroyuki wrote: (2012/08/11 0:42), Michal Hocko wrote: On Thu 09-08-12 17:01:10, Glauber Costa wrote: [...] @@ -2317,18 +2318,18 @@ static int mem_cgroup_do_charge(struct mem_cgroup *memcg, gfp_t gfp_mask, }

[PATCH v7 1/4] mm: introduce compaction and migration for virtio ballooned pages

2012-08-10 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This

[PATCH v7 2/4] virtio_balloon: introduce migration primitives to balloon pages

2012-08-10 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. Besides

[PATCH v7 3/4] mm: introduce putback_movable_pages()

2012-08-10 Thread Rafael Aquini
The PATCH "mm: introduce compaction and migration for virtio ballooned pages" hacks around putback_lru_pages() in order to allow ballooned pages to be re-inserted on balloon page list as if a ballooned page was like a LRU page. As ballooned pages are not legitimate LRU pages, this patch

[PATCH v7 4/4] mm: add vm event counters for balloon pages compaction

2012-08-10 Thread Rafael Aquini
This patch introduces a new set of vm event counters to keep track of ballooned pages compaction activity. Signed-off-by: Rafael Aquini --- drivers/virtio/virtio_balloon.c | 1 + include/linux/vm_event_item.h | 8 +++- mm/compaction.c | 2 ++ mm/migrate.c

[PATCH v7 0/4] make balloon pages movable by compaction

2012-08-10 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This

Re: [PATCH v2 11/11] protect architectures where THREAD_SIZE >= PAGE_SIZE against fork bombs

2012-08-10 Thread Kamezawa Hiroyuki
(2012/08/09 22:01), Glauber Costa wrote: > Because those architectures will draw their stacks directly from the > page allocator, rather than the slab cache, we can directly pass > __GFP_KMEMCG flag, and issue the corresponding free_pages. > > This code path is taken when the architecture doesn't

Re: Upgraded from 3.4 to 3.5.1 kernel: machine does not boot

2012-08-10 Thread Jesper Juhl
part of the > boot process. > > Picture of where it stops working (a little burry but readable) > http://home.comcast.net/~jpiszcz/20120810/3.5-kernel-hangs.jpg > > Kernel config 3.4 (working) > http://home.comcast.net/~jpiszcz/20120810/config-3.4.txt > > Kernel config 3.5

Re: [PATCH v2 09/11] memcg: propagate kmem limiting information to children

2012-08-10 Thread Kamezawa Hiroyuki
(2012/08/09 22:01), Glauber Costa wrote: > The current memcg slab cache management fails to present satisfatory > hierarchical behavior in the following scenario: > > -> /cgroups/memory/A/B/C > > * kmem limit set at A, > * A and B have no tasks, > * span a new task in in C. > > Because

Re: [PATCH v2] staging: gdm72xx: fix reference counting in gdm_wimax_event_init

2012-08-10 Thread Ben Chan
Hi Dan, I manually walked through the driver code and spotted the issue. But this morning I was able to get an extra module to verify my patch on hardware. I tested the following patterns using two identical modules, and checked the creation/destruction/ref_cnt of wm_event: - insert module A,

Re: null pointer dereference while loading i915

2012-08-10 Thread Mihai Moldovan
* On 10.08.2012 06:39 PM, Daniel Vetter wrote: > On Fri, Aug 10, 2012 at 6:05 PM, Mihai Moldovan wrote: >> * On 10.08.2012 12:10 PM, Daniel Vetter wrote: >>> On Wed, Aug 8, 2012 at 6:50 AM, Mihai Moldovan wrote: Hi Daniel, hi list ever since version 3.2.0 (maybe even earlier, but

Re: [PATCH v2] SubmittingPatches: clarify SOB tag usage when evolving submissions

2012-08-10 Thread Randy Dunlap
On 08/09/2012 02:48 PM, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Initial large code submissions typically are not accepted > on their first patch submission. The developers are > typically given feedback and at times some developers may > even submit changes to the original

Re: [PATCH 5/6] floppy: remove check for allocated queue on do_floppy_init error handling

2012-08-10 Thread Vivek Goyal
On Thu, Aug 09, 2012 at 04:59:50PM -0300, Herton Ronaldo Krzesinski wrote: > The check "if (disks[dr]->queue)" check is bogus, if we reach there > for each dr should exist an queue allocated (note that we decrement dr > first on entering the loop). > > Signed-off-by: Herton Ronaldo Krzesinski

Re: [PATCH v2 07/11] mm: Allocate kernel pages to the right memcg

2012-08-10 Thread Greg Thelen
On Thu, Aug 09 2012, Glauber Costa wrote: > When a process tries to allocate a page with the __GFP_KMEMCG flag, the > page allocator will call the corresponding memcg functions to validate > the allocation. Tasks in the root memcg can always proceed. > > To avoid adding markers to the page - and

Re: [PATCH 6/6] floppy: use disk_registered for checking if a drive is present

2012-08-10 Thread Vivek Goyal
On Thu, Aug 09, 2012 at 04:59:51PM -0300, Herton Ronaldo Krzesinski wrote: > Simplify/cleanup code, replacing remaining checks for drives present > using disk_registered array. > > Signed-off-by: Herton Ronaldo Krzesinski > --- Looks good to me. Acked-by: Vivek Goyal Vivek >

Re: [PATCH 4/6] floppy: properly handle failure on add_disk loop

2012-08-10 Thread Vivek Goyal
On Thu, Aug 09, 2012 at 04:59:49PM -0300, Herton Ronaldo Krzesinski wrote: > On do_floppy_init, if something failed inside the loop we call add_disk, > there was no cleanup of previous iterations in the error handling. > > Signed-off-by: Herton Ronaldo Krzesinski > Cc: sta...@vger.kernel.org >

Re: [PATCH v2 07/11] mm: Allocate kernel pages to the right memcg

2012-08-10 Thread Kamezawa Hiroyuki
(2012/08/09 22:01), Glauber Costa wrote: > When a process tries to allocate a page with the __GFP_KMEMCG flag, the > page allocator will call the corresponding memcg functions to validate > the allocation. Tasks in the root memcg can always proceed. > > To avoid adding markers to the page - and a

Re: [PATCH v2 02/11] memcg: Reclaim when more than one page needed.

2012-08-10 Thread Michal Hocko
On Thu 09-08-12 17:01:10, Glauber Costa wrote: [...] > For now retry up to COSTLY_ORDER (as page_alloc.c does) and make sure > not to do it if __GFP_NORETRY. Who is using __GFP_NORETRY for user backed memory (except for hugetlb which has its own controller)? -- Michal Hocko SUSE Labs -- To

Re: [PATCH v2 02/11] memcg: Reclaim when more than one page needed.

2012-08-10 Thread Michal Hocko
On Sat 11-08-12 01:49:25, KAMEZAWA Hiroyuki wrote: > (2012/08/11 0:42), Michal Hocko wrote: > >On Thu 09-08-12 17:01:10, Glauber Costa wrote: > >[...] > >>@@ -2317,18 +2318,18 @@ static int mem_cgroup_do_charge(struct mem_cgroup > >>*memcg, gfp_t gfp_mask, > >>} else > >>

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-10 Thread Kamezawa Hiroyuki
(2012/08/09 22:01), Glauber Costa wrote: > This patch introduces infrastructure for tracking kernel memory pages to > a given memcg. This will happen whenever the caller includes the flag > __GFP_KMEMCG flag, and the task belong to a memcg other than the root. > > In memcontrol.h those functions

Re: [PATCH] lib/parser.c: avoid overflow in match_number()

2012-08-10 Thread Randy Dunlap
On 08/09/2012 01:03 PM, Alex Elder wrote: > The result of converting an integer value to another signed integer > type that's unable to represent the original value is implementation > defined. (See notes in section 6.3.1.3 of the C standard.) > > In match_number(), the result of

Re: [PATCH 3/6] floppy: avoid leaking extra reference to queue on do_floppy_init error handling

2012-08-10 Thread Vivek Goyal
On Thu, Aug 09, 2012 at 04:59:48PM -0300, Herton Ronaldo Krzesinski wrote: > After commit 3f9a5aa ("floppy: Cleanup disk->queue before caling > put_disk() if add_disk() was never called"), if something fails in the > add_disk loop, we unconditionally set disks[dr]->queue to NULL. But > that's

Re: [PATCH 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-10 Thread Vivek Goyal
On Thu, Aug 09, 2012 at 04:59:47PM -0300, Herton Ronaldo Krzesinski wrote: > If blk_init_queue fails, we do not call put_disk on the current dr > (dr is decremented first in the error handling loop). > > Signed-off-by: Herton Ronaldo Krzesinski > Cc: sta...@vger.kernel.org Hi, So for the

Re: [RFC PATCH 0/5] Improve hugepage allocation success rates under load V3

2012-08-10 Thread Jim Schutt
On 08/10/2012 05:02 AM, Mel Gorman wrote: On Thu, Aug 09, 2012 at 04:38:24PM -0600, Jim Schutt wrote: Ok, this is an untested hack and I expect it would drop allocation success rates again under load (but not as much). Can you test again and see what effect, if any, it has please? ---8<---

Re: [3.5 regression] DRM: Massive (EDID-probing?) X startup delay on ATI Radeon RV770 (HD4870)

2012-08-10 Thread Nix
On 6 Aug 2012, Alex Deucher verbalised: > On Sat, Aug 4, 2012 at 12:13 PM, Nix wrote: >> Possibly-relevant info: >> >> - Two DVI monitors, identical specs, one dual-head graphics card >>(so no VGA switcheroo or awesome-yet-terrifying PRIME madness needed) >> >> - KMS, Xserver 1.12.3,

Re: [PATCH 02/16] perf symbol: remove unused 'end' arg in kallsyms parse cb

2012-08-10 Thread Cody P Schafer
I guess that length of 1 effectively same as zero length in this case since we end up calling symbols__fixup_end. The 'end - start + 1' part looks like a leftover from previous change and not needed anymore - KSYM_NAME_LEN check too, IMHO - so I suggest using 0 length to make it clear. Got it.

Re: [PATCH 1/6] floppy: don't call alloc_ordered_workqueue inside the alloc_disk loop

2012-08-10 Thread Vivek Goyal
On Thu, Aug 09, 2012 at 04:59:46PM -0300, Herton Ronaldo Krzesinski wrote: > Since commit 070ad7e ("floppy: convert to delayed work and single-thread > wq"), we end up calling alloc_ordered_workqueue multiple times inside > the loop, which shouldn't be intended. Besides the leak, other side >

Re: POI: nvidia forcedeth phy id not present

2012-08-10 Thread Janpieter Sollie
A primary concern seems to be solved (4k frame size). However, it is not really a patch yet, just a dirty workaround (just replaced ETH_DATA_LEN with a value 4000, my switch is limited to 4k) 486c486 < #define NV_PKTLIMIT_1_ETH_DATA_LEN /* hard limit not known */ --- > #define NV_PKTLIMIT_1 4000

Re: [PATCH v2 05/11] Add a __GFP_KMEMCG flag

2012-08-10 Thread Kamezawa Hiroyuki
(2012/08/09 22:01), Glauber Costa wrote: > This flag is used to indicate to the callees that this allocation is a > kernel allocation in process context, and should be accounted to > current's memcg. It takes numerical place of the of the recently removed > __GFP_NO_KSWAPD. > > Signed-off-by:

Re: [PATCH v2 04/11] kmem accounting basic infrastructure

2012-08-10 Thread Kamezawa Hiroyuki
(2012/08/09 22:01), Glauber Costa wrote: > This patch adds the basic infrastructure for the accounting of the slab > caches. To control that, the following files are created: > > * memory.kmem.usage_in_bytes > * memory.kmem.limit_in_bytes > * memory.kmem.failcnt > *

Re: [PATCH] ASoC: core: remove unused variable in soc_probe() in linux-next

2012-08-10 Thread Mark Brown
On Thu, Aug 09, 2012 at 11:16:26PM -0700, Jerry Snitselaar wrote: > With commit 28d528c8 "ASoC: core: Remove pointless error on card > registration failure", the variable ret is no longer used in > soc_probe() and generates an unused variable warning during a build. Applied, thanks. -- To

[ANNOUNCE] 3.4.8-rt16

2012-08-10 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.8-rt16 stable release. This release is just an update to the new stable 3.4.8 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: [PATCH v2 02/11] memcg: Reclaim when more than one page needed.

2012-08-10 Thread Kamezawa Hiroyuki
(2012/08/11 0:42), Michal Hocko wrote: On Thu 09-08-12 17:01:10, Glauber Costa wrote: [...] @@ -2317,18 +2318,18 @@ static int mem_cgroup_do_charge(struct mem_cgroup *memcg, gfp_t gfp_mask, } else mem_over_limit = mem_cgroup_from_res_counter(fail_res, res); /* -

Re: [PATCH] ARM: tegra: use IO_ADDRESS for getting virtual address

2012-08-10 Thread Stephen Warren
On 08/10/2012 07:03 AM, Laxman Dewangan wrote: > Use macro IO_ADDRESS for getting virtual address of > corresponding physical address to make the consistency > with rest of Tegra code-base. > This macro calls the IO_TO_VIRT() which is defined in > arch/arm/mach-tegra/include/mach/iomap.h Thanks,

Upgraded from 3.4 to 3.5.1 kernel: machine does not boot

2012-08-10 Thread Justin Piszcz
burry but readable) http://home.comcast.net/~jpiszcz/20120810/3.5-kernel-hangs.jpg Kernel config 3.4 (working) http://home.comcast.net/~jpiszcz/20120810/config-3.4.txt Kernel config 3.5.1 (hangs) http://home.comcast.net/~jpiszcz/20120810/config-3.5.1.txt As you see towards the end the machine has been s

Re: null pointer dereference while loading i915

2012-08-10 Thread Daniel Vetter
On Fri, Aug 10, 2012 at 6:05 PM, Mihai Moldovan wrote: > * On 10.08.2012 12:10 PM, Daniel Vetter wrote: >> On Wed, Aug 8, 2012 at 6:50 AM, Mihai Moldovan wrote: >>> Hi Daniel, hi list >>> >>> ever since version 3.2.0 (maybe even earlier, but 3.0.2 is still working >>> fine), >>> my box is

Re: rcu stalls seen with numasched_v2 patches applied.

2012-08-10 Thread Srikar Dronamraju
> --- > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -1539,6 +1539,7 @@ struct task_struct { > #ifdef CONFIG_SMP > u64 node_stamp; /* migration stamp */ > unsigned long numa_contrib; > + struct callback_head numa_work; > #endif /* CONFIG_SMP */

Re: [36/36] AArch64: MAINTAINERS update

2012-08-10 Thread Christopher Covington
Hi Catalin, On 07/06/2012 05:06 PM, Catalin Marinas wrote: > This patch updates the MAINTAINERS file for the AArch64 Linux kernel > port. > > Signed-off-by: Catalin Marinas > > --- > MAINTAINERS |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > > -- > To unsubscribe from

Re: [PATCHv4 1/3] fs: Move core dump functionality into its own file

2012-08-10 Thread Kees Cook
On Fri, Aug 10, 2012 at 1:26 AM, Alex Kelly wrote: > This prepares for making core dump functionality optional. > > The variable "suid_dumpable" and associated functions are left in fs/exec.c > because they're used elsewhere, such as in ptrace. > > Signed-off-by: Alex Kelly > Reviewed-by: Josh

Re: [PATCH] mutex: place lock in contended state after fastpath_lock failure

2012-08-10 Thread Nicolas Pitre
On Fri, 10 Aug 2012, Will Deacon wrote: > ARM recently moved to asm-generic/mutex-xchg.h for its mutex > implementation after the previous implementation was found to be missing > some crucial memory barriers. However, this has revealed some problems > running hackbench on SMP platforms due to

Re: [PATCH] overlayfs: copy up i_uid/i_gid from the underlying inode

2012-08-10 Thread Miklos Szeredi
Andy Whitcroft writes: > After a long hiatus I have had time to look into the issues > highlighted by the i_uid/i_gid requirements from the VFS. > I have identified a number of places which definatly did need > the ids copying up and those are reflected in the patch below.

Re: null pointer dereference while loading i915

2012-08-10 Thread Mihai Moldovan
* On 10.08.2012 12:10 PM, Daniel Vetter wrote: > On Wed, Aug 8, 2012 at 6:50 AM, Mihai Moldovan wrote: >> Hi Daniel, hi list >> >> ever since version 3.2.0 (maybe even earlier, but 3.0.2 is still working >> fine), >> my box is crashing when loading the i915 driver (mode-setting enabled.) >> >>

Re: [PATCH v2 03/11] memcg: change defines to an enum

2012-08-10 Thread Michal Hocko
On Thu 09-08-12 17:01:11, Glauber Costa wrote: > This is just a cleanup patch for clarity of expression. In earlier > submissions, people asked it to be in a separate patch, so here it is. > > [ v2: use named enum as type throughout the file as well ] > > Signed-off-by: Glauber Costa > CC:

Re: [lm-sensors] NULL dereference BUG in sch56xx_init()

2012-08-10 Thread Guenter Roeck
On Fri, Aug 10, 2012 at 10:35:59AM +0200, Hans de Goede wrote: > Hi, > > On 08/09/2012 04:42 PM, Guenter Roeck wrote: > >On Thu, Aug 09, 2012 at 08:55:26PM +0800, Fengguang Wu wrote: > >>Hi Guenter, > >> > >>This commit triggered an oops which can be fixed by the attached diff. > >>Should it be

Re: [PATCH v2 02/11] memcg: Reclaim when more than one page needed.

2012-08-10 Thread Michal Hocko
On Thu 09-08-12 17:01:10, Glauber Costa wrote: [...] > @@ -2317,18 +2318,18 @@ static int mem_cgroup_do_charge(struct mem_cgroup > *memcg, gfp_t gfp_mask, > } else > mem_over_limit = mem_cgroup_from_res_counter(fail_res, res); > /* > - * nr_pages can be either a

Re: [PATCHv4 3/3] fs: Update coredump-related headers

2012-08-10 Thread Serge E. Hallyn
Quoting Alex Kelly (alex.page.ke...@gmail.com): > This patch creates a new header file, fs/coredump.h, which contains > functions only used by the new coredump.c. It also moves do_coredump > to the include/linux/coredump.h header file, for consistency. > > Signed-off-by: Alex Kelly >

Re: [PATCHv4 2/3] fs: Make core dump functionality optional

2012-08-10 Thread Serge E. Hallyn
Quoting Alex Kelly (alex.page.ke...@gmail.com): > Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of > core dump. > This saves approximately 2.6k in the compiled kernel, and complements > CONFIG_ELF_CORE, > which now depends on it. > > CONFIG_COREDUMP also disables

Re: [PATCHv4 1/3] fs: Move core dump functionality into its own file

2012-08-10 Thread Serge E. Hallyn
Quoting Alex Kelly (alex.page.ke...@gmail.com): > This prepares for making core dump functionality optional. > > The variable "suid_dumpable" and associated functions are left in fs/exec.c > because they're used elsewhere, such as in ptrace. > > Signed-off-by: Alex Kelly > Reviewed-by: Josh

Re: [RFC 1/4] remoteproc: Bugfix assign device address to carveout (noiommu)

2012-08-10 Thread Ohad Ben-Cohen
Hi Sjur, On Thu, Aug 9, 2012 at 11:35 PM, Sjur Brændeland wrote: > Any thoughts on how to go about to fix this? The general direction I have in mind is to put the resource table in its final location while we do the first pass of fw parsing. This will solve all sort of open issues we have (or

Re: Re: [PATCH 0/8] Set bi_rw when alloc bio before call bio_add_page.

2012-08-10 Thread Muthu Kumar
[ Resending in plain text... sorry for the duplicate ] Hi, On Mon, Jul 30, 2012 at 6:14 PM, Dave Chinner wrote: > > On Tue, Jul 31, 2012 at 08:55:59AM +0800, majianpeng wrote: > > On 2012-07-31 05:42 Dave Chinner Wrote: > > >On Mon, Jul 30, 2012 at 03:14:28PM +0800, majianpeng wrote: > > >>

Re: [PATCHv4 2/3] fs: Make core dump functionality optional

2012-08-10 Thread Serge Hallyn
Quoting Josh Triplett (j...@joshtriplett.org): > On Fri, Aug 10, 2012 at 08:23:23AM -0500, Serge Hallyn wrote: > > Quoting Alex Kelly (alex.page.ke...@gmail.com): > > > Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of > > > core dump. > > > This saves approximately 2.6k

Re: [PATCH] trivial: pinctrl core: remove extraneous code lines

2012-08-10 Thread Stephen Warren
On 08/10/2012 08:53 AM, Richard Genoud wrote: > In function pinctrl_get_locked, pointer p is returned on error, and also > return on no_error. > So, we just return it with no error test. > > It's pretty the same in function pinctrl_lookup_state_locked: state is > returned in every case, so we

<    1   2   3   4   5   6   7   8   >