Re: [PATCH v2 RESEND] Add NumaChip remote PCI support

2012-11-30 Thread Bjorn Helgaas
On Thu, Nov 29, 2012 at 10:28 PM, Daniel J Blueman wrote: > Hi Bjorn, > > > On 29/11/2012 07:08, Bjorn Helgaas wrote: >> >> On Wed, Nov 21, 2012 at 1:39 AM, Daniel J Blueman >> wrote: >>> >>> Add NumaChip-specific PCI access mechanism via MMCONFIG cycles, but >>> preventing access to AMD

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-30 Thread Linus Torvalds
On Fri, Nov 30, 2012 at 6:31 AM, Chris Mason wrote: > On Thu, Nov 29, 2012 at 07:49:10PM -0700, Dave Chinner wrote: >> >> Same with mpage_readpages(), so it's not just direct IO that has >> this problem > > I guess the good news is that block devices don't have readpages. The > bad news

Re: [PATCH] perf tools: fix build for various architectures

2012-11-30 Thread Mark Rutland
On Tue, Nov 27, 2012 at 01:41:16PM +, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 27, 2012 at 12:16:31PM +, Mark Rutland escreveu: > > The UAPI changes broke the perf tool, and as of 3.7-rc7, it > > still won't build for arm: > > > >

Re: Results for balancenuma v8, autonuma-v28fast and numacore-20121126

2012-11-30 Thread Rik van Riel
On 11/30/2012 06:41 AM, Mel Gorman wrote: This is an another insanely long mail. Short summary, based on the results of what is in tip/master right now, I think if we're going to merge anything for v3.8 it should be the "Automatic NUMA Balancing V8". It does reasonably well for many of the

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-30 Thread Christoph Hellwig
On Fri, Nov 30, 2012 at 01:49:10PM +1100, Dave Chinner wrote: > > Ugh. That's a big violation of how buffer-heads are supposed to work: > > the block number is very much defined to be in multiples of b_size > > (see for example "submit_bh()" that turns it into a sector number). > > > > But you're

Re: [PATCH v2 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-11-30 Thread Greg KH
On Fri, Nov 30, 2012 at 05:27:37PM +0200, Eli Billauer wrote: > I made changes in the code as a response to almost all your comments > to my best understanding. > > I also sent a separate mail responding to a couple of issues, which > seems not have reached you. I now see it, sorry for the

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-11-30 Thread Greg KH
On Fri, Nov 30, 2012 at 04:50:39PM +0200, Eli Billauer wrote: > Thanks for the remarks. > > I'm sending the updated patches in a minute. Basically, I divided > the module into three (one core, one for PCIe and one for OF) and > made several corrections. > > On 11/28/2012 06:57 PM, Greg KH wrote:

Re: [PATCH] add hardware I2C support for ARM IMX23

2012-11-30 Thread sander van ginkel
You might want to try my for-next branch or wait for 3.8-rc1, maybe the DMA termination patch helps? Also enabling I2C debug messages is probably worth it. Regards, Wolfram -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions |

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread azurIt
>Could you also post your complete containers configuration, maybe there >is something strange in there (basically grep . -r YOUR_CGROUP_MNT >except for tasks files which are of no use right now). Here it is: http://www.watchdog.sk/lkml/cgroups.gz -- To unsubscribe from this list: send the line

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-30 Thread Paul Fulghum
On 11/29/2012 8:52 PM, Chen Gang wrote: > 于 2012年11月30日 02:32, Greg KH 写道: >> On Thu, Nov 29, 2012 at 01:57:59PM +0800, Chen Gang wrote: And, I really don't understand here, why do you want to change this? What is it going to change? And why? >>> >>> Why: >>> for the context

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-30 Thread David Woodhouse
On Fri, 2012-11-30 at 12:10 +, David Woodhouse wrote: > In that case I think we're fine. I'll just do the same thing in > br2684_push(), fix up the comment you just corrected, and we're all > good. OK, here's an update to me my patch 8/17 'br2684: don't send frames on not-ready vcc'. It takes

Re: [PATCH 2/2] ring-buffer: Fix race between integrity check and readers

2012-11-30 Thread Steven Rostedt
On Fri, 2012-11-30 at 11:12 -0500, Steven Rostedt wrote: > From: Steven Rostedt > > The function rb_check_pages() was added to make sure the ring buffer's > pages were sane. This check is done when the ring buffer size is modified > as well as when the iterator is released (closing the "trace"

Re: [PATCH 1/2] ring-buffer: Fix NULL pointer if rb_set_head_page() fails

2012-11-30 Thread Steven Rostedt
On Fri, 2012-11-30 at 11:12 -0500, Steven Rostedt wrote: > From: Steven Rostedt > > The function rb_set_head_page() searches the list of ring buffer > pages for a the page that has the HEAD page flag set. If it does > not find it, it will do a WARN_ON(), disable the ring buffer and > return

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 16:59:37, azurIt wrote: > >> Here is the full boot log: > >> www.watchdog.sk/lkml/kern.log > > > >The log is not complete. Could you paste the comple dmesg output? Or > >even better, do you have logs from the previous run? > > > What is missing there? All kernel messages are

[v3.2-v3.4 stable version][PATCH 1/2] ring-buffer: Fix NULL pointer if rb_set_head_page() fails

2012-11-30 Thread Steven Rostedt
The function rb_set_head_page() searches the list of ring buffer pages for a the page that has the HEAD page flag set. If it does not find it, it will do a WARN_ON(), disable the ring buffer and return NULL, as this should never happen. But if this bug happens to happen, not all callers of this

Re: [PATCH] perf tools: fix build for various architectures

2012-11-30 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 27, 2012 at 12:16:31PM +, Mark Rutland escreveu: > The UAPI changes broke the perf tool, and as of 3.7-rc7, it > still won't build for arm: > > util/../../../arch/arm/include/asm/unistd.h:16:29: fatal error: > uapi/asm/unistd.h: No such file or directory > compilation

[v3.0 stable version][PATCH 1/2] ring-buffer: Fix NULL pointer if rb_set_head_page() fails

2012-11-30 Thread Steven Rostedt
The function rb_set_head_page() searches the list of ring buffer pages for a the page that has the HEAD page flag set. If it does not find it, it will do a WARN_ON(), disable the ring buffer and return NULL, as this should never happen. But if this bug happens to happen, not all callers of this

[PATCH 1/2] ring-buffer: Fix NULL pointer if rb_set_head_page() fails

2012-11-30 Thread Steven Rostedt
From: Steven Rostedt The function rb_set_head_page() searches the list of ring buffer pages for a the page that has the HEAD page flag set. If it does not find it, it will do a WARN_ON(), disable the ring buffer and return NULL, as this should never happen. But if this bug happens to happen,

[PATCH 0/2] [GIT PULL][v3.7] ring-buffer: Bug fixes

2012-11-30 Thread Steven Rostedt
Ingo, This is based off of my last urgent pull request. Please pull the latest tip/perf/urgent-2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git tip/perf/urgent-2 Head SHA1: 9366c1ba13fbc41bdb57702e75ca4382f209c82f Steven Rostedt (2):

[PATCH 2/2] ring-buffer: Fix race between integrity check and readers

2012-11-30 Thread Steven Rostedt
From: Steven Rostedt The function rb_check_pages() was added to make sure the ring buffer's pages were sane. This check is done when the ring buffer size is modified as well as when the iterator is released (closing the "trace" file), as that was considered a non fast path and a good place to do

Re: [PATCH 04/18] perf header: Add HEADER_GROUP_DESC feature

2012-11-30 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 29, 2012 at 03:38:32PM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > Save group relationship information so that it can be restored when > perf report is running. > > Cc: Jiri Olsa > Cc: Stephane Eranian > Acked-by: Jiri Olsa > Signed-off-by: Namhyung Kim > --- >

Re: [PATCH 03/18] perf tools: Keep group information

2012-11-30 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 30, 2012 at 12:09:11AM +0900, Namhyung Kim escreveu: > 2012-11-29 (목), 16:02 +0100, Jiri Olsa: > > > You mean adding 'evsel->nr_members > 1' to this function? For some > > > reason, I'd like to treat non-group events as group leaders so I dropped > > > that check from the function. >

Re: [PATCH 12/18] perf ui/hist: Add support for event group view

2012-11-30 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 30, 2012 at 02:29:43PM +0100, Jiri Olsa escreveu: > On Thu, Nov 29, 2012 at 03:38:40PM +0900, Namhyung Kim wrote: > > +#define __HPP_COLOR_PERCENT_FN(_type, _field) > > \ > > +static int hpp__color_##_type(struct perf_hpp *hpp, struct hist_entry

Re: [PATCH 07/18] perf hists: Exchange order of comparing items when collapsing hists

2012-11-30 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 29, 2012 at 03:38:35PM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > When comparing entries for collapsing put the given entry first, and > then the iterated entry. This is for the sake of consistency and will consistency with what? and, see below: > be required by the

Re: [PATCH] perf hists: Fix period symbol_conf.field_sep display, again

2012-11-30 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 29, 2012 at 02:40:02PM +0100, Jiri Olsa escreveu: > On Thu, Nov 29, 2012 at 12:53:44PM +0100, Jiri Olsa wrote: > > On Thu, Nov 29, 2012 at 04:56:04PM +0900, Namhyung Kim wrote: > > SNIP > > > > > - if (!sep || !first) { > > > > - ret =

Re: [PATCH V7 1/7] kbuild: centralize .dts->.dtb rule

2012-11-30 Thread Rob Herring
On 11/27/2012 05:29 PM, Stephen Warren wrote: > From: Stephen Warren > > All architectures that use cmd_dtc do so in almost the same way. Create > a central build rule to avoid duplication. The one difference is that > most current uses of dtc build $(obj)/%.dtb from $(src)/dts/%.dts rather >

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread azurIt
>> Here is the full boot log: >> www.watchdog.sk/lkml/kern.log > >The log is not complete. Could you paste the comple dmesg output? Or >even better, do you have logs from the previous run? What is missing there? All kernel messages are logging into /var/log/kern.log (it's the same as dmesg),

Re: [PATCH v7 0/5] Reset PCIe devices to address DMA problem on kdump with iommu

2012-11-30 Thread MUNEDA Takahiro
On Tue, 27 Nov 2012 09:42:20 +0900 (JST), Takao Indoh wrote: > These patches reset PCIe devices at boot time to address DMA problem on > kdump with iommu. When "reset_devices" is specified, a hot reset is > triggered on each PCIe root port and downstream port to reset its > downstream endpoint.

Re: [PATCH V5 2/2] mfd: stmpe: Update DT support in stmpe driver

2012-11-30 Thread Lee Jones
On Fri, 30 Nov 2012, Samuel Ortiz wrote: > Hi Viresh, Lee, > > On Thu, Nov 29, 2012 at 08:10:18PM +0530, Viresh Kumar wrote: > > From: Vipul Kumar Samar > > > > This patch extends existing DT support for stmpe devices. This updates: > > - DT support from stmpe SPI and I2C drivers > > - missing

Re: [PATCH 3/3] cifs: Enable Kconfig control of CIFS_DEBUG

2012-11-30 Thread Steve French
On Fri, Nov 30, 2012 at 9:07 AM, Jeff Layton wrote: > On Fri, 30 Nov 2012 06:57:40 -0800 > Joe Perches wrote: > >> On Fri, 2012-11-30 at 06:56 -0500, Jeff Layton wrote: >> > On Thu, 29 Nov 2012 11:37:20 -0800 >> > Joe Perches wrote: >> > >> > > Rather than havign a permanently enabled #define,

Re: [PATCH 1/1] Input: STMicroelectronics multi touch capacitive touchscreen ftk

2012-11-30 Thread Joe Perches
On Fri, 2012-11-30 at 17:04 +0200, Felipe Balbi wrote: > On Fri, Nov 30, 2012 at 09:18:54AM -0500, Li Wu wrote: > > This is a initial driver for STMicroelectronics multi touch > > capacitive touchscren FingertipK. It supports maximum 10 fingers, > > based on I2C interface. [] > diff --git

Re: [PATCH V2 3/3] cifs: Add CONFIG_CIFS_DEBUG and rename use of CIFS_DEBUG

2012-11-30 Thread Jeff Layton
On Fri, 30 Nov 2012 07:31:56 -0800 Joe Perches wrote: > On Fri, 2012-11-30 at 10:07 -0500, Jeff Layton wrote: > > On Fri, 30 Nov 2012 06:57:40 -0800 > > Joe Perches wrote: > > > On Fri, 2012-11-30 at 06:56 -0500, Jeff Layton wrote: > > > > On Thu, 29 Nov 2012 11:37:20 -0800 > > > > Joe Perches

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 16:08:11, azurIt wrote: > >DMA32 zone is usually fills up first 4G unless your HW remaps the rest > >of the memory above 4G or you have a numa machine and the rest of the > >memory is at other node. Could you post your memory map printed during > >the boot? (e820: BIOS-provided

Re: [PATCH 1/3] cifs: Remove unused cEVENT macro

2012-11-30 Thread Steve French
I don't mind removing cEVENT (it is currently unused, and presumably the older file systems that used EVENT logging, have moved to dtrace or other tracing mechanisms). But ... the need still remains for more tracing for cifs (I run into this a few times a month at least when debugging) - does

RE: [PATCH v5 00/12] Support for AM33xx PWM Subsystem

2012-11-30 Thread Paul Walmsley
On Fri, 30 Nov 2012, Philip, Avinash wrote: > Is there any way to get HWMOD and DT patches getting accepted in 3.8? > Or should I wait and send rebased patch based on 3.8-rc1? Our upstreams aren't taking any more new features for v3.8, so basing on v3.8-rc1 is the best thing to do now. In the

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 16:03:47, Michal Hocko wrote: [...] > Anyway, the more interesting thing is gfp_mask is GFP_NOWAIT allocation > from the page fault? Huh this shouldn't happen - ever. OK, it starts making sense now. The message came from pagefault_out_of_memory which doesn't have gfp nor the

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-30 Thread Jiang Liu
On 11/30/2012 11:15 AM, Yasuaki Ishimatsu wrote: > Hi Jiang, > >> >> For the first issue, I think we could automatically convert pages >> from movable zones into normal zones. Congyan from Fujitsu has provided >> a patchset to manually convert pages from movable zones into normal zones, >> I

RE: [PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-11-30 Thread Peng, Tao
Sorry for the late response. I will get it done in the weekend. The only one that need backport is bellow patch. The two DIO patches are not necessary because 3.4 NFS DIO does not support pNFS yet. Thanks, Tao From: Myklebust, Trond

[PATCH V2 3/3] cifs: Add CONFIG_CIFS_DEBUG and rename use of CIFS_DEBUG

2012-11-30 Thread Joe Perches
On Fri, 2012-11-30 at 10:07 -0500, Jeff Layton wrote: > On Fri, 30 Nov 2012 06:57:40 -0800 > Joe Perches wrote: > > On Fri, 2012-11-30 at 06:56 -0500, Jeff Layton wrote: > > > On Thu, 29 Nov 2012 11:37:20 -0800 > > > Joe Perches wrote: > > > > Rather than havign a permanently enabled #define,

Re: linux-next: Tree for Nov 29 (netlabel)

2012-11-30 Thread Paul Moore
On Friday, November 30, 2012 10:19:16 AM Paul Moore wrote: > On Thursday, November 29, 2012 04:05:26 PM Randy Dunlap wrote: > > On 11/28/2012 10:40 PM, Stephen Rothwell wrote: > > > Hi all, > > > > > Changes since 20121128: > > (on i386:) > > If I had to guess it looks like CONFIG_NETLABEL needs

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-11-30 Thread Eli Billauer
Thanks for the remarks. I'm sending the updated patches in a minute. Basically, I divided the module into three (one core, one for PCIe and one for OF) and made several corrections. On 11/28/2012 06:57 PM, Greg KH wrote: What is the user/kernel interface for this driver? Is it documented

Re: [PATCH v2 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-11-30 Thread Eli Billauer
I made changes in the code as a response to almost all your comments to my best understanding. I also sent a separate mail responding to a couple of issues, which seems not have reached you. But to put it short: * The pci_ids: I wasn't sure if I should remove only my own product ID or all

[PATCH 1/1] ARM: ux500: Change IRQ from low-to-high edge triggered to high-to-low

2012-11-30 Thread Lee Jones
When the STMPE IRQ is triggered to be active high level-sensitive, the Nomadik GPIO controller it uses complains, although it still works. Recently we attempted to move triggering to low-to-high in an attempt to prevent the warning; however, this ensured that the IRQ was actually missed

Re: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined

2012-11-30 Thread Domenico Andreoli
On Thu, Nov 29, 2012 at 02:54:58PM +0800, Lin Feng wrote: > Hi all, Hi Lin, > We encounter a "Resource temporarily unavailable" fail while trying > to offline a memory section in a movable zone. We found that there are > some pages can't be migrated. The offline operation fails in function >

Re: [PATCH] smsc: RFC: Workaround for problems with lan8710 phy auto MDI-X

2012-11-30 Thread Jiri Kosina
On Fri, 30 Nov 2012, Peter Turczak wrote: > while debugging network outages on a customers hardware I found, that > the MDI-X function of the lan8710 phy seemed to cause trouble. When > connecting to almost any kind of 100/1000MBit switch, the link would > seem to come up and data where sent

Re: Bisected regression: iterate_fd() selinux change affects flash plugin

2012-11-30 Thread Pavel Roskin
Quoting Al Viro : On Fri, Nov 30, 2012 at 03:40:34AM +, Al Viro wrote: The bug is real, but Pavel's patch is all wrong. The problem is in the argument; we should pass descriptor number, not descriptor + 1. And fixing that (in iterator_fd() itself) makes all callbacks work as they ought

Re: linux-next: Tree for Nov 29 (netlabel)

2012-11-30 Thread Paul Moore
On Thursday, November 29, 2012 04:05:26 PM Randy Dunlap wrote: > On 11/28/2012 10:40 PM, Stephen Rothwell wrote: > > Hi all, > > > Changes since 20121128: > (on i386:) If I had to guess it looks like CONFIG_NETLABEL needs to be dependent on CONFIG_INET. While the net/ Kconfig only pulls in the

Re: [PATCH 1/1] Input: STMicroelectronics multi touch capacitive touchscreen ftk

2012-11-30 Thread Felipe Balbi
Hi, On Fri, Nov 30, 2012 at 09:18:54AM -0500, Li Wu wrote: > This is a initial driver for STMicroelectronics multi touch > capacitive touchscren FingertipK. It supports maximum 10 fingers, > based on I2C interface. > > Tested on Beagleboard, Android ICS. > > Signed-off-by: Li Wu > --- >

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Glauber Costa
On 11/30/2012 06:59 PM, Tejun Heo wrote: > Hello, > > On Fri, Nov 30, 2012 at 02:00:21PM +0400, Glauber Costa wrote: >> Now, what I am actually seeing with cgroup creation, is that the >> children will copy a lot of the values from the parent, like swappiness, >> hierarchy, etc. Once the child

Re: [PATCH v2 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-11-30 Thread Greg KH
On Fri, Nov 30, 2012 at 04:51:52PM +0200, Eli Billauer wrote: > Xillybus is a general-purpose framework for communication between programmable > logic (FPGA) and a host. It provides a simple connection between hardware > FIFOs > in the FPGA and their respective device files on the host. > > The

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread azurIt
>DMA32 zone is usually fills up first 4G unless your HW remaps the rest >of the memory above 4G or you have a numa machine and the rest of the >memory is at other node. Could you post your memory map printed during >the boot? (e820: BIOS-provided physical RAM map: and following lines) Here is

Re: [PATCH 3/3] cifs: Enable Kconfig control of CIFS_DEBUG

2012-11-30 Thread Jeff Layton
On Fri, 30 Nov 2012 06:57:40 -0800 Joe Perches wrote: > On Fri, 2012-11-30 at 06:56 -0500, Jeff Layton wrote: > > On Thu, 29 Nov 2012 11:37:20 -0800 > > Joe Perches wrote: > > > > > Rather than havign a permanently enabled #define, allow > > > control over it. > > > > > > This can reduce the

Re: [PATCH v2 1/2] pci_ids: Added FPGA-related entries

2012-11-30 Thread Greg KH
On Fri, Nov 30, 2012 at 04:51:51PM +0200, Eli Billauer wrote: > These are Vendor IDs to FPGA manufacturers, and are necessary for the Xillybus > driver. Even though no other driver uses them currently, I believe their > place is in the general list for future use. The PCIe interface is > popular

Re: [PATCH 2/3] cifs: Make CIFS_DEBUG possible to undefine

2012-11-30 Thread Jeff Layton
On Fri, 30 Nov 2012 06:52:09 -0800 Joe Perches wrote: > On Fri, 2012-11-30 at 06:49 -0500, Jeff Layton wrote: > > On Thu, 29 Nov 2012 11:37:19 -0800 > > Joe Perches wrote: > > > > > Make the compilation work again when CIFS_DEBUG is not #define'd. > > > > > > Add format and argument

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 15:44:31, Michal Hocko wrote: > On Fri 30-11-12 14:44:27, azurIt wrote: > > >Anyway your system is under both global and local memory pressure. You > > >didn't see apache going down previously because it was probably the one > > >which was stuck and could be killed. > > >Anyway you

[PATCH 2/2] thp: avoid race on multiple parallel page faults to the same page

2012-11-30 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" pmd value is stable only with mm->page_table_lock taken. After taking the lock we need to check that nobody modified the pmd before change it. Signed-off-by: Kirill A. Shutemov --- mm/huge_memory.c | 29 - 1 file changed, 24

[PATCH 0/2] kernel BUG at mm/huge_memory.c:212!

2012-11-30 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" Hi Jiri, Sorry for late answer. It took time to reproduce and debug the issue. Could you test two patches below by thread. I expect it to fix both issues: put_huge_zero_page() and Bad rss-counter state. Kirill A. Shutemov (2): thp: fix anononymous page accounting

[PATCH 1/2] thp: fix anononymous page accounting in fallback path for COW of HZP

2012-11-30 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" Don't forget to account newly allocated page in fallback path for copy-on-write of huge zero page. Signed-off-by: Kirill A. Shutemov --- mm/huge_memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 57f0024..9d6f521

Re: [PATCH] drivers: cma: fix addressing on PAE machines

2012-11-30 Thread Michal Nazarewicz
On Fri, Nov 30 2012, Vitaly Andrianov wrote: > This patch fixes a couple of bugs that otherwise impair CMA functionality on > PAE machines: > > - alignment must be a 64-bit type when running on systems with 64-bit > physical addresses. If this is not the case, the limit calculation thunks

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Tejun Heo
Hello, On Fri, Nov 30, 2012 at 02:00:21PM +0400, Glauber Costa wrote: > Now, what I am actually seeing with cgroup creation, is that the > children will copy a lot of the values from the parent, like swappiness, > hierarchy, etc. Once the child copies it, we should no longer be able to > change

Re: [PATCH 3/3] cifs: Enable Kconfig control of CIFS_DEBUG

2012-11-30 Thread Joe Perches
On Fri, 2012-11-30 at 06:56 -0500, Jeff Layton wrote: > On Thu, 29 Nov 2012 11:37:20 -0800 > Joe Perches wrote: > > > Rather than havign a permanently enabled #define, allow > > control over it. > > > > This can reduce the size of the module by ~100KB which > > could be useful for embedded

Re: [PATCH v3] i2c-hid: introduce HID over i2c specification implementation

2012-11-30 Thread Jean Delvare
Hi Benjamin, Jiri, Sorry for the late review. But better late than never I guess... On Mon, 12 Nov 2012 15:42:59 +0100, Benjamin Tissoires wrote: > Microsoft published the protocol specification of HID over i2c: > http://msdn.microsoft.com/en-us/library/windows/hardware/hh852380.aspx > > This

[PATCH v2 1/2] pci_ids: Added FPGA-related entries

2012-11-30 Thread Eli Billauer
These are Vendor IDs to FPGA manufacturers, and are necessary for the Xillybus driver. Even though no other driver uses them currently, I believe their place is in the general list for future use. The PCIe interface is popular among these FPGAs, and Linux is used often. Signed-off-by: Eli

Re: [PATCH 2/3] cifs: Make CIFS_DEBUG possible to undefine

2012-11-30 Thread Joe Perches
On Fri, 2012-11-30 at 06:49 -0500, Jeff Layton wrote: > On Thu, 29 Nov 2012 11:37:19 -0800 > Joe Perches wrote: > > > Make the compilation work again when CIFS_DEBUG is not #define'd. > > > > Add format and argument verification for the various macros when > > CIFS_DEBUG is not #define'd. [] >

bugsplat 3.6.7-rt18

2012-11-30 Thread Tim Sander
Hi After Frank posted a patch i managed the 3.6.7-rt18 kernel to boot: There are some local platform modifications for arm mach-pcm043 but nothing which should cause this. The kernel got renamed so that the hw debugger works. HR_TIMERS are disabled in my config. The kernel continues to work

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 14:44:27, azurIt wrote: > >Anyway your system is under both global and local memory pressure. You > >didn't see apache going down previously because it was probably the one > >which was stuck and could be killed. > >Anyway you need to setup your system more carefully. > > > There

Re: [PATCH v2 2/2] zram: reduce metadata overhead

2012-11-30 Thread Minchan Kim
On Thu, Nov 29, 2012 at 10:54:49PM -0800, Nitin Gupta wrote: > Changelog v2 vs v1: > - Use is_zero_page() instead of direct handle comparison > - Use 1 as invalid handle value instead of -1 since handle > is unsigned and thus -1 may refer to a valid object. While 1 > is guaranteed to be invalid

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-30 Thread Chris Mason
On Thu, Nov 29, 2012 at 07:49:10PM -0700, Dave Chinner wrote: > On Thu, Nov 29, 2012 at 02:16:50PM -0800, Linus Torvalds wrote: > > On Thu, Nov 29, 2012 at 1:29 PM, Chris Mason > > wrote: > > > > > > Just reading the new blkdev_get_blocks, it looks like we're mixing > > > shifts. In direct-io.c

[PATCH 1/1] Input: STMicroelectronics multi touch capacitive touchscreen ftk

2012-11-30 Thread Li Wu
This is a initial driver for STMicroelectronics multi touch capacitive touchscren FingertipK. It supports maximum 10 fingers, based on I2C interface. Tested on Beagleboard, Android ICS. Signed-off-by: Li Wu --- MAINTAINERS|8 + drivers/input/touchscreen/Kconfig |

Re: [PATCH v2 -tip 3/4] tracing: make a snapshot feature available from userspace

2012-11-30 Thread Steven Rostedt
On Fri, 2012-11-30 at 14:46 +0900, Hiraku Toyooka wrote: > Hi, Steven, > > Thank you for your review. > > (2012/11/16 10:46), Steven Rostedt wrote: > [snip] > > I was thinking about this some more, and I don't like the > > snapshot_allocate part. Also, I think the snapshot should not be > >

Re: [PATCH 1/1] gpio: Provide the STMPE GPIO driver with its own IRQ Domain

2012-11-30 Thread Lee Jones
On Fri, 23 Nov 2012, Lee Jones wrote: > The STMPE GPIO driver can be used as an IRQ controller by some > related devices. Here we provide it with its very own IRQ Domain > so that IRQs can be issued dynamically. This will stand the > driver in good stead when it is enabled for Device Tree, as

Re: [PATCH 1/1] mfd: Simplify IRQ domain registration code in STMPE

2012-11-30 Thread Lee Jones
On Fri, 23 Nov 2012, Lee Jones wrote: > Historically, a driver would have to decide whether it required > a Linear or Legacy IRQ domain when registering one. This can end > up as quite a lot of code. A new Simple call now exists which > simplifies this process. Let's make use of it here. > > Cc:

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-30 Thread Myklebust, Trond
On Fri, 2012-11-30 at 02:00 +, Al Viro wrote: > On Thu, Nov 29, 2012 at 05:54:02PM -0800, Patrick McLean wrote: > > > Very interesting. Do you have anything mounted on the corresponding > > > directories on server? The picture looks like you are getting empty > > > fhandles in readdir+

Re: [PATCH 2/2 v6] loop: Limit the number of requests in the bio list

2012-11-30 Thread Jeff Moyer
Lukas Czerner writes: > Currently there is not limitation of number of requests in the loop bio > list. This can lead into some nasty situations when the caller spawns > tons of bio requests taking huge amount of memory. This is even more > obvious with discard where blkdev_issue_discard() will

Re: [PATCH v2 1/2] zsmalloc: add function to query object size

2012-11-30 Thread Minchan Kim
On Thu, Nov 29, 2012 at 10:54:48PM -0800, Nitin Gupta wrote: > Changelog v2 vs v1: > - None > > Adds zs_get_object_size(handle) which provides the size of > the given object. This is useful since the user (zram etc.) > now do not have to maintain object sizes separately, saving > on some

Re: [PATCH 1/3] aerdrv: Trace Event for AER

2012-11-30 Thread Steven Rostedt
On Fri, 2012-11-30 at 14:42 +0100, Borislav Petkov wrote: > So, it sounds to me like we should we move all RAS-specific tracepoints > to and then in each usage site do: Note, the CREATE_TRACE_POINTS must only be done in one location. Not every place. It creates the code that does the work to

MMTests 0.08

2012-11-30 Thread Mel Gorman
MMTests 0.08 is a configurable test suite that runs a number of common workloads of interest to MM developers. This release is very monitor but contains some specjbb configs for running with a single JVM and preliminary support for rendering reports as HTML. Changelog since v0.07 o Preliminary

Re: [PATCH 0/5] serial: 8250: 8250_dw changes and dynamic capabilities

2012-11-30 Thread Heikki Krogerus
On Wed, Nov 28, 2012 at 02:48:39PM +0200, Heikki Krogerus wrote: > Hi, > > These are mainly small changes to 8250_dw.c. The interesting patch is > probable the addition to 8250.c that would allow the drivers to > deliver their UART's capabilities when they are registering ports. These don't

RE: [PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-11-30 Thread Myklebust, Trond
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Thursday, November 29, 2012 8:46 PM > To: Ben Hutchings > Cc: Peng Tao; Myklebust, Trond; linux-kernel@vger.kernel.org; > sta...@vger.kernel.org; kernel-t...@lists.ubuntu.com; Herton Ronaldo >

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread azurIt
>Anyway your system is under both global and local memory pressure. You >didn't see apache going down previously because it was probably the one >which was stuck and could be killed. >Anyway you need to setup your system more carefully. There is, also, an evidence that system has enough of

Re: [PATCH 1/3] aerdrv: Trace Event for AER

2012-11-30 Thread Borislav Petkov
On Fri, Nov 30, 2012 at 06:39:11AM -0500, Steven Rostedt wrote: > On Fri, 2012-11-30 at 11:53 +0100, Borislav Petkov wrote: > > On Thu, Nov 29, 2012 at 08:51:19PM -0500, Steven Rostedt wrote: > > > > include/ras/aer_event.h | 77 > > > > +++ > > > >

Re: [PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-30 Thread Paul E. McKenney
On Thu, Nov 29, 2012 at 10:00:53PM -0500, Mikulas Patocka wrote: > On Thu, 29 Nov 2012, Andrew Morton wrote: > > On Tue, 27 Nov 2012 22:59:52 -0500 (EST) > > Mikulas Patocka wrote: > > > > > percpu-rwsem: use synchronize_sched_expedited > > > > > > Use synchronize_sched_expedited() instead of

Re: [PATCH V5 2/2] mfd: stmpe: Update DT support in stmpe driver

2012-11-30 Thread Lee Jones
On Fri, 30 Nov 2012, Viresh Kumar wrote: > On 30 November 2012 18:15, Lee Jones wrote: > > The patch doesn't apply for me - does it for you? > > > > Viresh, what's it based on? > > Because this was applied 2 days back by Samuel, and i didn't > fetch it again yesterday: > > commit

[PATCH] smsc: RFC: Workaround for problems with lan8710 phy auto MDI-X

2012-11-30 Thread Peter Turczak
Hi all, while debugging network outages on a customers hardware I found, that the MDI-X function of the lan8710 phy seemed to cause trouble. When connecting to almost any kind of 100/1000MBit switch, the link would seem to come up and data where sent out to the network. But all incoming packets

Re: [PATCH V5 2/2] mfd: stmpe: Update DT support in stmpe driver

2012-11-30 Thread Viresh Kumar
On 30 November 2012 18:15, Lee Jones wrote: > The patch doesn't apply for me - does it for you? > > Viresh, what's it based on? Because this was applied 2 days back by Samuel, and i didn't fetch it again yesterday: commit 20d5c7defc228cdaeff3ce3442f3a4e86af293c1 Author: Randy Dunlap Date:

[PATCH] [trivial] wireless: mwifiex: Fix typo in wireless/mwifiex driver

2012-11-30 Thread Masanari Iida
Correct spelling typo in wireless/mwifiex driver. Signed-off-by: Masanari Iida --- drivers/net/wireless/mwifiex/sta_ioctl.c | 2 +- drivers/net/wireless/mwifiex/usb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/mwifiex/sta_ioctl.c

Re: [Line6linux-devel] [PATCH] staging: line6: pcm.c fix checkpatch issues

2012-11-30 Thread Stefan Hajnoczi
On Fri, Nov 30, 2012 at 11:57 AM, Laurent Navet wrote: > fix those checkpatch issues > drivers/staging/line6/pcm.c:84: > WARNING: simple_strtoul is obsolete, use kstrtoul instead > call to obsolete simple_strtoul() replaced by kstrtoint() > > drivers/staging/line6/pcm.c:423: >

[PATCH 3/3] staging/rtl8187se: Fix spacing coding style in ieee80211/dot11d.c

2012-11-30 Thread YAMANE Toshiaki
The following errors fixed. - ERROR: "foo * bar" should be "foo *bar" - ERROR: "(foo*)" should be "(foo *)" Signed-off-by: YAMANE Toshiaki --- drivers/staging/rtl8187se/ieee80211/dot11d.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 2/3] staging/rtl8187se: Fix spacing coding style in ieee80211/dot11d.c

2012-11-30 Thread YAMANE Toshiaki
The following errors and warnings fixed. - WARNING: braces {} are not necessary for single statement blocks - ERROR: that open brace { should be on the previous line - ERROR: space required before the open parenthesis '(' - ERROR: space prohibited after that open parenthesis '(' Signed-off-by:

[PATCH 1/3] staging/rtl8187se: Fix spacing coding style in ieee80211/dot11d.c

2012-11-30 Thread YAMANE Toshiaki
The following errors fixed. - ERROR: spaces required around that '=' (ctx:VxV) - ERROR: spaces required around that '<=' (ctx:VxV) - ERROR: space required after that ',' (ctx:VxV) Signed-off-by: YAMANE Toshiaki --- drivers/staging/rtl8187se/ieee80211/dot11d.c | 10 +- 1 file changed,

[PATCH] drivers: cma: fix addressing on PAE machines

2012-11-30 Thread Vitaly Andrianov
This patch fixes a couple of bugs that otherwise impair CMA functionality on PAE machines: - alignment must be a 64-bit type when running on systems with 64-bit physical addresses. If this is not the case, the limit calculation thunks allocations down to an address range < 4G. - The

Re: [PATCH] staging/serqt_usb2: Refactor qt_status_change_check() in serqt_usb2.c

2012-11-30 Thread YAMANE Toshiaki
On Fri, Nov 30, 2012 at 5:25 PM, Dan Carpenter wrote: > On Thu, Nov 29, 2012 at 06:10:26PM -0800, Greg Kroah-Hartman wrote: >> On Thu, Nov 29, 2012 at 01:57:56PM +0900, YAMANE Toshiaki wrote: >> > >> > - ProcessLineStatus(qt_port, data[i + 3]); >> > - >> >

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread azurIt
>Anyway your system is under both global and local memory pressure. You >didn't see apache going down previously because it was probably the one >which was stuck and could be killed. >Anyway you need to setup your system more carefully. No, it wasn't, i'm 1000% sure (i was on SSH). Here is the

Re: [PATCH V5 2/2] mfd: stmpe: Update DT support in stmpe driver

2012-11-30 Thread Lee Jones
On Fri, 30 Nov 2012, Samuel Ortiz wrote: > Hi Viresh, Lee, > > On Thu, Nov 29, 2012 at 08:10:18PM +0530, Viresh Kumar wrote: > > From: Vipul Kumar Samar > > > > This patch extends existing DT support for stmpe devices. This updates: > > - DT support from stmpe SPI and I2C drivers > > - missing

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 03:29:18, azurIt wrote: > >Here we go with the patch for 3.2.34. Could you test with this one, > >please? > > > Michal, unfortunately i had to boot to another kernel because the one > with this patch keeps killing my MySQL server :( it was, probably, > doing it on OOM in any

[PATCH] regulator: wm831x-dcdc: Add MODULE_ALIAS for wm831x-boostp

2012-11-30 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/wm831x-dcdc.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c index bce2565..731b701 100644 --- a/drivers/regulator/wm831x-dcdc.c +++ b/drivers/regulator/wm831x-dcdc.c @@ -993,4

Re: kswapd craziness in 3.7

2012-11-30 Thread Thorsten Leemhuis
Johannes Weiner wrote on 29.11.2012 18:05: > On Thu, Nov 29, 2012 at 04:30:12PM +0100, Thorsten Leemhuis wrote: >> Mel Gorman wrote on 29.11.2012 00:54: >> > On Wed, Nov 28, 2012 at 02:52:15PM -0800, Andrew Morton wrote: >> >> On Wed, 28 Nov 2012 10:13:59 + >> >> Mel Gorman wrote: >> >> >

Re: [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2012-11-30 Thread Artem Bityutskiy
On Thu, 2012-11-22 at 14:37 +, Philip, Avinash wrote: > Idea here is to make faster scanning of erased page without bit flips. > For omap nand driver ecc reported by hardware is non-zero and non > 0xff. > So comparing with the standard vector for erased page and skipping > error > correction

Re: [PATCH v2 3/3] mtd: nand: omap2: Support for hardware BCH error correction

2012-11-30 Thread Artem Bityutskiy
On Wed, 2012-10-31 at 12:38 +0530, Philip, Avinash wrote: > +static int erased_sector_bitflips(u_char *data, u_char *oob, > + struct omap_nand_info *info) > +{ > + int flip_bits = 0, i; > + > + for (i = 0; i < info->nand.ecc.size; i++) { > + flip_bits +=

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-30 Thread David Woodhouse
On Fri, 2012-11-30 at 10:53 +0100, Krzysztof Mazur wrote: > On Fri, Nov 30, 2012 at 08:25:22AM +, David Woodhouse wrote: > > On Fri, 2012-11-30 at 01:57 +, David Woodhouse wrote: > > > I think it's actually fixed for pppoatm by the bh_lock_sock() and the > > > sock_owned_by_user() check.

<    1   2   3   4   5   6   7   8   9   10   >