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

2012-08-21 Thread Michal Hocko
On Tue 21-08-12 09:54:30, Michal Hocko wrote: > E.g. how do you handle charges you left behind? Say you charged some > pages for stack? I got to the last patch and see how you do it. You are relying on free_accounted_pages directly which doesn't check kmem_accounted and uses PageUsed bit instead.

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Thierry Reding
On Tue, Aug 21, 2012 at 05:22:12PM +0900, Alex Courbot wrote: > Hi Tomi, > > On Tuesday 21 August 2012 15:44:29 Tomi Valkeinen wrote: > > > +Problem > > > +--- > > > +One very common board-dependent code is the out-of-driver code that is > > > used to +turn a device on or off. For instance,

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Arnd Bergmann
On Tuesday 21 August 2012, Viresh Kumar wrote: > > Is AVR32 a big-endian system? Probably big-endian, that's why values are > > > getting > > > swapped. And dw_dmac is the standard one, can call it little endian for > > the > > > time being. > > > > > > @Arnd: What should we do here? > > > > Yes,

[PATCH v1] virtio-scsi: get and set the queue limits for sg device

2012-08-21 Thread Cong Meng
Each virtio scsi HBA has global request queue limits. But the passthrough LUNs (scsi-generic) come from different host HBAs may have different request queue limits. If the guest sends commands that exceed the host limits, the commands will be rejected by host HAB. This patch addresses this issue

Re: [PATCH v2 10/11] memcg: allow a memcg with kmem charges to be destructed.

2012-08-21 Thread Michal Hocko
On Thu 09-08-12 17:01:18, Glauber Costa wrote: > Because the ultimate goal of the kmem tracking in memcg is to track slab > pages as well, we can't guarantee that we'll always be able to point a > page to a particular process, and migrate the charges along with it - > since in the common case, a

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Alex Courbot
Hi Tomi, On Tuesday 21 August 2012 15:44:29 Tomi Valkeinen wrote: > > +Problem > > +--- > > +One very common board-dependent code is the out-of-driver code that is > > used to +turn a device on or off. For instance, SoC boards very commonly > > use a GPIO +(abstracted to a regulator or not)

RE: [RFC 0/2] USB gadget - configfs

2012-08-21 Thread Andrzej Pietrasiewicz
Hello Sebastian, On Monday, August 20, 2012 1:01 PM Sebastian Andrzej Siewior wrote > > That would be something like > >$ ln -s /cfg/usb-function-gadget/G1 \ > /cfg/usb-function-gadget/udcs/udc1/ > > Where we "bind" the complete gadget (G1) including the mass storage >

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-21 Thread Antti Palosaari
Hello Hiroshi, On 08/21/2012 10:02 AM, Hiroshi Doyu wrote: Antti Palosaari wrote @ Mon, 20 Aug 2012 23:29:34 +0200: On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: Hi Antti, Antti Palosaari wrote @ Sat, 18 Aug 2012 02:11:56 +0200: On 08/17/2012 09:04 AM, Hiroshi Doyu wrote:

Re: [PATCH 3/7] perf hists: Introduce hist_period_print functions

2012-08-21 Thread Namhyung Kim
On Mon, 20 Aug 2012 10:08:26 -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Aug 20, 2012 at 01:52:07PM +0900, Namhyung Kim escreveu: >> From: Namhyung Kim >> >> Current hist print functions are messy. Refactor them using the hpp > > Why? I'm not saying they aren't, just curious about the lack

[PATCH 4/5] charger-manager: Check fully charged state of battery periodically

2012-08-21 Thread Chanwoo Choi
This patch check periodically fully charged state of battery to protect overcharge and overheat. If battery is fully charged, stop charging and check droped voltage with 'fullbatt_vchkdrop_ms' period. When voltage of battery is more droped than 'fullbatt_vchkdrop_uV' voltage, charger-manager will

[PATCH 1/5] charger-manager: Disable battery charging when charger cable is detached

2012-08-21 Thread Chanwoo Choi
This patch disable before stop chargint forcibly when charger cable is detached and check return value of regulator_enable/disable() fucntion to confirm correct opertion of enabling/disabling charger(regulator). Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Kyungmin

[PATCH 2/5] charger-manager: Use replacement variable to check state of battery

2012-08-21 Thread Chanwoo Choi
This patch remove unnecessary variable(cm->fullbatt_vchk_uV) by using 'desc->fullbatt_uV' field directly in fullbatt_handler() function to check the state of battery. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Kyungmin Park --- drivers/power/charger-manager.c

[PATCH 5/5] charger-manager: Support limit of maximum possible duration for charging/discharging

2012-08-21 Thread Chanwoo Choi
This patch check maximum possible duration of charging/discharging. If whole charging duration exceed 'desc->charging_max_duration_ms', cm stop charging to prevent overcharge/overheat. And if discharging duration exceed, charger cable is attached, after full-batt, cm start charging to maintain

[PATCH 3/5] charger-manager: Add support sysfs entry for charger

2012-08-21 Thread Chanwoo Choi
This patch add support sysfs entry for each charger(regulator). Charger-manager use one or more chargers for charging battery but some charger isn't necessary on specific scenario. So, if some charger isn't needed, can disable specific charger through 'externally_control' entry while system is on

[PATCH 0/5] charger-manager: Update charger-manager to support various charging conditions

2012-08-21 Thread Chanwoo Choi
This patchset add new feature related to charging battery to complement necessary feature for charging. This patchset include following new feature for charging battery. Explain implemented feature of this patchset: - Code clean on first and second patch. - Add support sysfs entry for

[PATCH v2 2/2] x86: reimplement mem boot option

2012-08-21 Thread Wen Congyang
Current mem boot option only can work for non efi environment. If the user specifies add_efi_memmap, it cannot work for efi environment. In the efi environment, we call e820_add_region() to add the memory map. So we can modify __e820_add_region() and the mem boot option can work for efi

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-21 Thread Fengguang Wu
On Mon, Aug 20, 2012 at 06:49:52PM -0700, John Stultz wrote: > On 08/20/2012 06:40 PM, Fengguang Wu wrote: > >On Mon, Aug 20, 2012 at 06:15:00PM -0700, John Stultz wrote: > >>On 08/20/2012 06:10 PM, John Stultz wrote: > >>>On 08/20/2012 06:04 PM, Fengguang Wu wrote: > Hi John, > > The

Re: [alsa-devel] [PATCH] introduce snd-cmi8328: C-Media CMI8328 driver

2012-08-21 Thread Takashi Iwai
At Mon, 20 Aug 2012 22:39:51 +0200, Ondrej Zary wrote: > > Introduce snd-cmi8328 driver for C-Media CMI8328-based sound cards, such as > AudioExcel AV500. > > It supports PCM playback and capture (full-duplex) through wss_lib, gameport, > OPL3 and MPU401. The AV500 card has onboard Dream

Re: [alsa-devel] [PATCH] snd-als100: fix suspend/resume

2012-08-21 Thread Takashi Iwai
At Mon, 20 Aug 2012 21:50:13 +0200, Ondrej Zary wrote: > > snd_card_als100_probe() does not set pcm field in struct snd_sb. > As a result, PCM is not suspended and applications don't know that they need > to resume the playback. > > Tested with Labway A381-F20 card (ALS120). > > Signed-off-by:

Re: [PATCH] perf/x86: fix SNB-EP CBO and PCU uncore PMU filter management

2012-08-21 Thread Yan, Zheng
On 08/21/2012 12:22 AM, Stephane Eranian wrote: > The existing code had a bug whereby it would refuse to > measure two events in a group for either CBO or PCU PMUs, > if one of the events was using a filter. This was due to > the fact that the kernel assumed all CBO and PCU events > were using

Re: [GIT PULL] x86 fixes

2012-08-21 Thread Ingo Molnar
* Ingo Molnar wrote: > Linus, > > Please pull the latest x86-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-urgent-for-linus > >HEAD: 515c7af85ed92696c311c53d53cb4898ff32d784 x32: Use compat shims for > {g,s}etsockopt > > Please

Re: [GIT PULL] perf fixes

2012-08-21 Thread Ingo Molnar
* Ingo Molnar wrote: > Linus, > > Please pull the latest perf-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus > >HEAD: 26a4f3c08de49c1437a7b7f97693cf22d8c31656 perf/x86: disable PEBS on a > guest entry. The

Re: [GIT PULL] scheduler fixes

2012-08-21 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Aug 20, 2012 at 2:12 AM, Ingo Molnar wrote: > > > > Please pull the latest sched-urgent-for-linus git tree from: > > Ingo, *please* get into the habit of writing a short explanation for > your pull request so that my merge messages can be more relevant, ok?

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

2012-08-21 Thread Michal Hocko
On Fri 17-08-12 14:36:00, Glauber Costa wrote: > On 08/17/2012 02:35 PM, Michal Hocko wrote: > >> > But I never said that can't happen. I said (ok, I meant) the static > >> > branches can't be disabled. > > Ok, then I misunderstood that because the comment was there even before > > static branches

[PATCH] staging: octeon: Add prevent NAPI from scheduling IN-REPLY-TO:

2012-08-21 Thread Marina Makienko
There are netif_napi_add() and napi_enable() in for_each_possible_cpu loop in function cvm_oct_rx_initialize(). So it's logical to add napi_disable() in for_each_possible_cpu loop in function cvm_oct_rx_shutdown(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by:

Re: [PATCH 1/3] drivers-platform-x86: remove useless #ifdef CONFIG_ACPI_VIDEO

2012-08-21 Thread joeyli
於 一,2012-08-20 於 23:01 +0200,Corentin Chary 提到: > Signed-off-by: Corentin Chary > --- > drivers/platform/x86/acer-wmi.c |2 -- > drivers/platform/x86/apple-gmux.c |4 > drivers/platform/x86/asus-wmi.c |4 > drivers/platform/x86/samsung-laptop.c |4 >

Re: RFC: Link Time Optimization support for the kernel

2012-08-21 Thread Ingo Molnar
* Andi Kleen wrote: > On Mon, Aug 20, 2012 at 09:48:35AM +0200, Ingo Molnar wrote: > > > > * Andi Kleen wrote: > > > > > This rather large patchkit enables gcc Link Time Optimization (LTO) > > > support for the kernel. > > > > > > With LTO gcc will do whole program optimizations for > > >

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Arnd Bergmann
On Tuesday 21 August 2012, Viresh Kumar wrote: > On 21 August 2012 11:42, Hein Tibosch wrote: > > > On 8/21/2012 12:42 PM, viresh kumar wrote: > > > A!! Firstly we can't use __raw* for architectures >= ARMv6. It is not > > > only for endianess but for memory barriers. Why are they getting

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Tomi Valkeinen
Hi, On Thu, 2012-08-16 at 15:08 +0900, Alexandre Courbot wrote: > +Problem > +--- > +One very common board-dependent code is the out-of-driver code that is used > to > +turn a device on or off. For instance, SoC boards very commonly use a GPIO > +(abstracted to a regulator or not) to

Re: [PATCH] memory hotplug: reset pgdat->kswapd to NULL if creating kernel thread fails

2012-08-21 Thread Minchan Kim
On Tue, Aug 21, 2012 at 02:31:19PM +0800, Wen Congyang wrote: > If kthread_run() fails, pgdat->kswapd contains errno. When we stop > this thread, we only check whether pgdat->kswapd is NULL and access > it. If it contains errno, it will cause page fault. Reset pgdat->kswapd > to NULL when creating

Re: [PATCH 0/5] Memory policy corruption fixes V2

2012-08-21 Thread Mel Gorman
On Mon, Aug 20, 2012 at 05:36:29PM +0100, Mel Gorman wrote: > This is a rebase with some small changes to Kosaki's "mempolicy memory > corruption fixlet" series. I had expected that Kosaki would have revised > the series by now but it's been waiting a long time. > > Changelog since V1 > o Rebase

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Hein Tibosch
On 8/21/2012 2:35 PM, Viresh Kumar wrote: > On 21 August 2012 11:42, Hein Tibosch > wrote: > > On 8/21/2012 12:42 PM, viresh kumar wrote: > > A!! Firstly we can't use __raw* for architectures >= ARMv6. It is > not > > only for endianess but for

Re: [PATCH 5/5] mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()

2012-08-21 Thread Mel Gorman
On Mon, Aug 20, 2012 at 07:51:10PM +, Christoph Lameter wrote: > On Mon, 20 Aug 2012, Mel Gorman wrote: > > > diff --git a/mm/mempolicy.c b/mm/mempolicy.c > > index 45f9825..82e872f 100644 > > --- a/mm/mempolicy.c > > +++ b/mm/mempolicy.c > > @@ -1545,15 +1545,28 @@ struct mempolicy

Question about page_size of x86_64

2012-08-21 Thread gaoqiang
I found that my machine has a feature 'page size extension=true ' with 'cpuid' command but I don't know now to use it with linux.. anyone can give some help ? -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [Qemu-devel] x86, nops settings result in kernel crash

2012-08-21 Thread Michael Tokarev
On 20.08.2012 21:13, Tomas Racek wrote: [] Can we trim the old, large and now not-so-relevant discussion please? ;) > I can provide you with more different traces if it can help. But I thought > that maybe it will be more useful for you to try it on your own. So I've > prepared some minimal

Re: [PATCH 4/5] mempolicy: fix refcount leak in mpol_set_shared_policy()

2012-08-21 Thread Mel Gorman
On Mon, Aug 20, 2012 at 07:46:09PM +, Christoph Lameter wrote: > On Mon, 20 Aug 2012, Mel Gorman wrote: > > > @@ -2318,9 +2323,7 @@ void mpol_free_shared_policy(struct shared_policy *p) > > while (next) { > > n = rb_entry(next, struct sp_node, nd); > > next =

[PATCHv2] fs/9p: avoid debug OOPS when reading a long symlink

2012-08-21 Thread Jim Meyering
Reading a symlink longer than the given buffer, a p9_debug use would try to print the link name (not NUL-terminated) using a %s format. Use %.*s instead, and replace the strncpy+strnlen with functionally equivalent strlen+memcpy. Signed-off-by: Jim Meyering --- V1 provoked a warning due to

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-21 Thread Andreas Schwab
John Stultz writes: > @@ -115,6 +115,7 @@ static void tk_xtime_add(struct timekeeper *tk, const > struct timespec *ts) > { > tk->xtime_sec += ts->tv_sec; > tk->xtime_nsec += (u64)ts->tv_nsec << tk->shift; > + tk_normalize_xtime(tk); > } Yes, that does it. Failure to

Re: [PATCH 04/11] pinctrl: mvebu: add pinctrl driver for Armada 370

2012-08-21 Thread Gregory CLEMENT
On 08/20/2012 07:36 PM, Thomas Petazzoni wrote: > Le Mon, 20 Aug 2012 18:48:32 +0200, > Sebastian Hesselbarth a écrit : > >> this is really difficult here ;) I thought I could just add PINCTRL_DOVE >> to MACH_DOVE inside ARCH_MVEBU, PINCTRL_KIRKWOOD to MACH_KIRKWOOD, aso. >> But there is a

Re: regression with poll(2)

2012-08-21 Thread Mel Gorman
On Mon, Aug 20, 2012 at 09:54:59AM -0700, Sage Weil wrote: > > > > > > > I've retested several times and confirmed that this change leads to the > > > breakage, and also confirmed that reverting it on top of -rc1 also fixes > > > the problem. > > > > > > I've also added some additional

Re: [RFC PATCH 1/1] fair.c: Add/Export find_idlest_perfer_cpu API

2012-08-21 Thread Peter Zijlstra
On Mon, 2012-08-20 at 15:17 -0700, Shirley Ma wrote: > On Mon, 2012-08-20 at 14:00 +0200, Peter Zijlstra wrote: > > On Fri, 2012-08-17 at 12:46 -0700, Shirley Ma wrote: > > > Add/Export a new API for per-cpu thread model networking device > > driver > > > to choose a preferred idlest cpu within

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-21 Thread Hiroshi Doyu
Antti Palosaari wrote @ Mon, 20 Aug 2012 23:29:34 +0200: > On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: > > Hi Antti, > > > > Antti Palosaari wrote @ Sat, 18 Aug 2012 02:11:56 +0200: > > > >> On 08/17/2012 09:04 AM, Hiroshi Doyu wrote: > >>> dev_dbg_reatelimited() without DEBUG printed "217078

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Hein Tibosch
Hi Viresh, On 8/21/2012 12:42 PM, viresh kumar wrote: > I have added linux-kernel list in cc as there might be other users of > this patch. > Also, please try to keep spear-devel list in cc for dw_dmac as we are using > this > driver for SPEAr. Yes sure, I didn't want to bother the lists with

[PATCH] memory hotplug: reset pgdat->kswapd to NULL if creating kernel thread fails

2012-08-21 Thread Wen Congyang
If kthread_run() fails, pgdat->kswapd contains errno. When we stop this thread, we only check whether pgdat->kswapd is NULL and access it. If it contains errno, it will cause page fault. Reset pgdat->kswapd to NULL when creating kernel thread fails can avoid this problem. Signed-off-by: Wen

Re: [ 04/16] drm/i915: correctly order the ring init sequence

2012-08-21 Thread Daniel Vetter
On Tue, Aug 21, 2012 at 7:13 AM, Herton Ronaldo Krzesinski wrote: > On Sun, Aug 19, 2012 at 08:56:03PM -0700, Greg Kroah-Hartman wrote: >> From: Greg KH >> >> 3.0-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Daniel Vetter >> >>

Re: [PATCH 0/4] fat: fix ESTALE errors

2012-08-21 Thread OGAWA Hirofumi
Namjae Jeon writes: > And.. Hi Ogawa. > I checked other filesystem about unlink - inode issue. but I found > Ext4 have same issue. > Although other filesysm is having this issue, Can we think It could be > only FAT issue ? (I assume this issue == orphaned inode issue). ext* doesn't have this

[PATCH] fbcon: fix race condition between console lock and cursor timer

2012-08-21 Thread Dave Airlie
So we've had a fair few reports of fbcon handover breakage between efi/vesafb and i915 surface recently, so I dedicated a couple of days to finding the problem. Essentially the last thing we saw was the conflicting framebuffer message and that was all. So after much tracing with direct

Re: root=PARTUUID for MBR/NT disk signatures?

2012-08-21 Thread Michael Tokarev
On 21.08.2012 08:47, Will Drewry wrote: [] > Functionally, I suspect this will work fine, but I am concerned that > it is a bad move from an efficiency perspective (not unfixable > though). Right now, the user-supplied value is converted from > string-uuid to packed-uuid. This is then memcmp'd

Re: [PATCH] microblaze: uartlite: avoid NULL pointer exception

2012-08-21 Thread Peter Crosthwaite
On Thu, Aug 9, 2012 at 4:44 AM, Stephan Linz wrote: > 'prop' is an pointer and can only be unset (NULL) after > prop = of_get_property() when it goes wrong. > > Kernel oops in ulite_probe(): > > [1.016645] uartlite 8fff.debug: failed to get alias id, errno -19 > [1.024246] Oops:

[GIT PULL] pinctrl fixes for v3.6-rc series

2012-08-21 Thread Linus Walleij
Hi Linus, here are some accumulated pinctrl fixes for the v3.6 series. Details are in the tag, and all have boiled in -next for testing some days. Please pull them in! The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) are

[PATCH 1/3] spi: omap2-mcspi: Call pm_runtime_* functions directly

2012-08-21 Thread Shubhrajyoti D
Call the pm_runtime functions directly making room for possible pm optimisations. Also the runtime functions aren't just about enabling and disabling of clocks though it does enable clocks also. Signed-off-by: Shubhrajyoti D --- drivers/spi/spi-omap2-mcspi.c | 28 +++-

[PATCH 0/3] spi: omap2-mcspi: spi cleanups

2012-08-21 Thread Shubhrajyoti D
This patch does the following Calls the pm_runtime_* functions directly. Remove the MOD_REG_BIT macro usage thereby removiing un-needed branch. At remove dont use the autosuspend runtime calls. Shubhrajyoti D (3): spi: omap2-mcspi: Call pm_runtime_* functions directly spi: omap2-mcspi:

[PATCH 3/3] spi: omap2-mcspi: At remove dont use the runtime_autosuspend calls

2012-08-21 Thread Shubhrajyoti D
At remove we shouldnt be using the autosuspend timeout as we are calling pm_runtime_disable immediately after. Signed-off-by: Shubhrajyoti D --- drivers/spi/spi-omap2-mcspi.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c

[PATCH 2/3] spi: omap2-mcspi: Remove the macro MOD_REG_BIT

2012-08-21 Thread Shubhrajyoti D
Remove the macro MOD_REG_BIT instead make the bit field modifications directly. This deletes a branch operation in cases where the the set is predecided.While at it optimise two sequential bit clear in one step. Signed-off-by: Shubhrajyoti D --- drivers/spi/spi-omap2-mcspi.c | 28

[PATCH 2/2] mfd: MAX77693: Fix NULL pointer error when initialize irqs of Maxim MAX77693

2012-08-21 Thread Chanwoo Choi
This patch initialize register map of MUIC device because mfd driver of Maxim MAX77693 use regmap-muic instance of MUIC device when irqs of Maxim MAX77693 is initialized before call max77693-muic probe() function. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Kyungmin

[RESEND PATCH 1/2] mfd: MAX77693: Fix bug of interrupt handlding for MAX77693 devices

2012-08-21 Thread Chanwoo Choi
This patch fix bug related to interrupt handling for MAX77693 devices. - Unmask interrupt masking bit for charger/flash/muic to revolve that interrupt isn't happened when external connector is attached. - Fix wrong regmap instance when muic interrupt is happened. This patch were discussed and

[PATCH 0/2] mfd: MAX77693: Fix bug

2012-08-21 Thread Chanwoo Choi
This patchset fix bug of Maxim MAX77693 chip. First patch unmask interrupt masking bit for charger/flas/muic device of Maxim MAX77693 and second patch remove NULL pointer error when mfd-max77693 driver initialize irqs of Maxim MAX77693 devices. Chanwoo Choi (2): mfd: MAX77693: Fix bug of

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-21 Thread Vyacheslav Dubeyko
Hi, On Sun, 2012-08-19 at 01:38 +0200, Dan Luedtke wrote: > This patch introduces the Lanyard Filesystem (LanyFS), a filesystem > for highly mobile and removable storage devices. > Did you have any performance comparison of your file system with others? Have you any benchmark results? I think

inux-next: Tree for Aug 21

2012-08-21 Thread Stephen Rothwell
Hi all, Changes since 20120820: The rr tree gained a conflict against Linus' tree. The tip tree still has its build failure so I used the version from next-20120814. The workqueues tree gained a conflict against the hid tree. The drivers-x86 tree still has its build failure so I used the

Re: [PATCH 3/3] writeback: add dirty_ratio_time per bdi variable (NFS write performance)

2012-08-21 Thread Namjae Jeon
2012/8/20, Fengguang Wu : > On Mon, Aug 20, 2012 at 09:48:42AM +0900, Namjae Jeon wrote: >> 2012/8/19, Fengguang Wu : >> > On Sat, Aug 18, 2012 at 05:50:02AM -0400, Namjae Jeon wrote: >> >> From: Namjae Jeon >> >> >> >> This patch is based on suggestion by Wu Fengguang: >> >>

Re: [PATCH 0/4] fat: fix ESTALE errors

2012-08-21 Thread Bastien ROUCARIES
On Tue, Aug 21, 2012 at 8:41 AM, OGAWA Hirofumi hirof...@mail.parknet.co.jp wrote: Namjae Jeon linkinj...@gmail.com writes: And.. Hi Ogawa. I checked other filesystem about unlink - inode issue. but I found Ext4 have same issue. Although other filesysm is having this issue, Can we think It

Re: [PATCH v9 1/2] kvm: Use a reserved IRQ source ID for irqfd

2012-08-21 Thread Alex Williamson
On Tue, 2012-08-21 at 23:41 +0300, Michael S. Tsirkin wrote: On Tue, Aug 21, 2012 at 02:06:19PM -0600, Alex Williamson wrote: On Tue, 2012-08-21 at 22:58 +0300, Michael S. Tsirkin wrote: On Tue, Aug 21, 2012 at 01:29:06PM -0600, Alex Williamson wrote: KVM_IRQFD currently uses the

Re: [PATCH v2 0/5] X86/XEN: Merge x86_init.paging.pagetable_setup_start and x86_init.paging.pagetable_setup_done setup functions and document its semantic

2012-08-21 Thread Thomas Gleixner
On Tue, 21 Aug 2012, Attilio Rao wrote: Differences with v1: - The patch serie is re-arranged in a way that it helps reviews, following a plan by Thomas Gleixner - The PVOPS nomenclature is not used as it is not correct - The front-end message is adjusted with feedback by Thomas Gleixner,

[PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-08-21 Thread J. Bruce Fields
From: J. Bruce Fields bfie...@redhat.com I've seen a couple examples recently where we've gotten this wrong. Maybe something like this would help? Is there some better way? (Approximation due to Jim Rees). Signed-off-by: J. Bruce Fields bfie...@redhat.com --- include/linux/string.h |6

Re: [PATCH] task_work: add a scheduling point in task_work_run()

2012-08-21 Thread Eric Dumazet
On Tue, 2012-08-21 at 16:37 -0400, Mimi Zohar wrote: We're here, because fput() called schedule_work() to delay the last fput(). The execution needs to take place before the syscall returns to userspace. Need to read __schedule()... Do you know if cond_resched() can guarantee that it will

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-08-21 Thread Jim Rees
J. Bruce Fields wrote: From: J. Bruce Fields bfie...@redhat.com I've seen a couple examples recently where we've gotten this wrong. Maybe something like this would help? Is there some better way? (Approximation due to Jim Rees). Please add Suggested-by: Jim Rees r...@umich.edu.

Re: [PATCH v2 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-21 Thread Stephen Warren
On 08/21/2012 05:25 AM, Linus Walleij wrote: On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add a new device tree enabled pinctrl and gpiolib driver for Samsung SoC's. ... + The child node can also optionally specify one or more of the pin +

Re: [PATCH v6 3/4] cgroup: add xattr support

2012-08-21 Thread Lennart Poettering
Heya, (sorry for the late reply) On 16.08.2012 22:00, Tejun Heo wrote: On Thu, Aug 16, 2012 at 01:44:56PM -0400, a...@redhat.com wrote: Attaching meta information to services, in an easily discoverable way. For example, in systemd we create one cgroup for each service, and could then store

Re: [PATCH 0/5] Memory policy corruption fixes V2

2012-08-21 Thread Andi Kleen
I tested this with trinity with CONFIG_DEBUG_SLAB enabled and it passed. I did not test LTP such as Josh reported a problem with or with a database that used shared policies like Andi tested. The series is almost all Kosaki's work of course. If he has a revised series that simply got delayed

Re: [PATCH v6 3/4] cgroup: add xattr support

2012-08-21 Thread Tejun Heo
Hello, On Tue, Aug 21, 2012 at 11:43:44PM +0200, Lennart Poettering wrote: I'm not against this but unsure whether using kmem is enough for the suggested use case. Lennart, would this suit systemd? How much metadata are we talking about? Just small things, like values, PIDs, i.e. a few

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

2012-08-21 Thread Greg Thelen
On Thu, Aug 09 2012, 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 are

[PATCH] perf: do not flush maps on COMM for perf report

2012-08-21 Thread Luigi Semenzato
This fixes a long-standing bug caused by the lack of separate COMM and EXEC record types, which makes perf report lose track of symbols when a process renames itself. With this fix (suggested by Stephane Eranian), a COMM (rename) no longer flushes the maps, which is the correct behavior. An EXEC

Re: [PATCH] ide: fix generic_ide_suspend/resume Oops

2012-08-21 Thread David Miller
From: Miklos Szeredi mik...@szeredi.hu Date: Tue, 21 Aug 2012 17:20:30 +0200 From: Miklos Szeredi mszer...@suse.cz This patch fixes a regresion introduced by commit 0998d063 (device-core: Ensure drvdata = NULL when no driver is bound). Suspend oopses in generic_ide_suspend() because

Re: [MMTests] dbench4 async on ext3

2012-08-21 Thread Jan Kara
On Mon 23-07-12 22:21:46, Mel Gorman wrote: Configuration:global-dhp__io-dbench4-async-ext3 Result: http://www.csn.ul.ie/~mel/postings/mmtests-20120424/global-dhp__io-dbench4-async-ext3 Benchmarks: dbench4 Summary === In general there was a massive drop in

Re: [PATCH v2 17/31] arm64: System calls handling

2012-08-21 Thread Catalin Marinas
On Tue, Aug 21, 2012 at 09:14:01PM +0100, Arnd Bergmann wrote: On Tuesday 21 August 2012, Catalin Marinas wrote: +asmlinkage long sys_mmap(unsigned long addr, unsigned long len, +unsigned long prot, unsigned long flags, +unsigned long fd, off_t

Re: [RFC] Move kfree outside pde_unload_lock

2012-08-21 Thread Alexey Dobriyan
On Tue, Aug 21, 2012 at 03:54:54PM -0500, Nathan Zimmer wrote: I am currently tracking a hotlock reported by a customer on a large, 512 cores, system, I am currently running 3.6.0 rc1 but the issue looks like it has been this way for a very long time. The offending lock is

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-08-21 Thread Al Viro
On Tue, Aug 21, 2012 at 05:22:27PM -0400, Jim Rees wrote: J. Bruce Fields wrote: From: J. Bruce Fields bfie...@redhat.com I've seen a couple examples recently where we've gotten this wrong. Maybe something like this would help? Is there some better way? (Approximation due

Re: [PATCHv3 3/9] serial: vt8500: Add devicetree support for vt8500-serial

2012-08-21 Thread Alan Cox
On Wed, 22 Aug 2012 08:47:32 +1200 Tony Prisk li...@prisktech.co.nz wrote: Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/tty/serial/vt8500_serial.c | 37 1 file changed, 33 insertions(+), 4 deletions(-) Can we have a comment attached to

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-08-21 Thread J. Bruce Fields
On Tue, Aug 21, 2012 at 11:06:13PM +0100, Al Viro wrote: On Tue, Aug 21, 2012 at 05:22:27PM -0400, Jim Rees wrote: J. Bruce Fields wrote: From: J. Bruce Fields bfie...@redhat.com I've seen a couple examples recently where we've gotten this wrong. Maybe something like this

[PATCH 0/2] console_lock debug improvements

2012-08-21 Thread Daniel Vetter
Hi all, After Dave Airlie blew through a few days to track down a deadlock at boot-up when handing over from the firmware fb to the kms/drm framebuffer driver (1), I've figured that lockdep /should/ have caught this. And indeed, by adding proper annotations to the console_lock it complains

[PATCH 2/2] console: implement lockdep support for console_lock

2012-08-21 Thread Daniel Vetter
Dave Airlie recently discovered a locking bug in the fbcon layer, where a timer_del_sync (for the blinking cursor) deadlocks with the timer itself, since both (want to) hold the console_lock: https://lkml.org/lkml/2012/8/21/36 Unfortunately the console_lock isn't a plain mutex and hence has no

[PATCH 1/2] console: use might_sleep in console_lock

2012-08-21 Thread Daniel Vetter
Instead of BUG_ON(in_interrupt()), since that doesn't check for all the newfangled stuff like preempt. Note that this is valid since the console_sem is essentially used like a real mutex with only two twists: - we allow trylock from hardirq context - across suspend/resume we lock the logical

Re: [RFC PATCH 2/2] mm: Batch page_check_references in shrink_page_list sharing the same i_mmap_mutex

2012-08-21 Thread Tim Chen
On Tue, 2012-08-21 at 09:21 -0400, Matthew Wilcox wrote: The only clunky bit would seem to be this bit: if (page_mapped(page) mapping) { - switch (try_to_unmap(page, TTU_UNMAP)) { + switch (try_to_unmap(page, TTU_UNMAP, +

Re: [PATCH RT 2/2] fix printk flush of messages

2012-08-21 Thread Frank Rowand
added recipients... On 08/21/12 07:30, Michael Thalmeier wrote: Frank Rowand frank.rowand at am.sony.com writes: Updates console-make-rt-friendly.patch #ifdef CONFIG_PREEMPT_RT_FULL, printk() output is never flushed by printk() because: ... On system boot some printk() output is

[PATCH] tools lib traceevent: Modify header to work in C++ programs

2012-08-21 Thread Steven Rostedt
Arnaldo, As the libtraceevent library is also used by powertop, and that is written in *cough* C++ *cough*, we need to make sure that the headers do not have any C++ reserved words. Please apply this patch. Thanks. -- Steve Steven Rostedt (1): tools lib traceevent: Modify header to work

Re: [PATCH v6 3/4] cgroup: add xattr support

2012-08-21 Thread Hugh Dickins
On Tue, 21 Aug 2012, Tejun Heo wrote: On Tue, Aug 21, 2012 at 11:43:44PM +0200, Lennart Poettering wrote: I'm not against this but unsure whether using kmem is enough for the suggested use case. Lennart, would this suit systemd? How much metadata are we talking about? Just small

[GIT] Networking

2012-08-21 Thread David Miller
A couple weeks of bug fixing in there. The largest chunk is all the broken crap Amerigo Wang found in the netpoll layer. 1) netpoll and it's users has several serious bugs: a) uses GFP_KERNEL with locks held b) interfaces requiring interrupts disabled are called with them enabled

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

2012-08-21 Thread Rusty Russell
On Wed, 15 Aug 2012 14:28:51 +0300, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Aug 15, 2012 at 12:16:51PM +0100, Mel Gorman wrote: I was thinking of exactly that page-mapping == balloon_mapping check. As I do not know how many active balloon drivers there might be I cannot guess in

Re: [PATCH 00/25] Crypto keys and module signing

2012-08-21 Thread Rusty Russell
On Thu, 16 Aug 2012 02:34:05 +0100, David Howells dhowe...@redhat.com wrote: Hi Rusty, I've posted new versions of my module signing patches to my GIT trees. Now I get to punt this discussion to KS. I knew it was good for something! Cheers, Rusty. -- To unsubscribe from this list: send

Re: [PATCH 0/4] PCI/PM: PCI D3cold support fixes for 3.6-rc1

2012-08-21 Thread Bjorn Helgaas
On Sun, Aug 19, 2012 at 6:09 PM, huang ying huang.ying.cari...@gmail.com wrote: Hi, Bjorn, Could you please merge this patchset? They fix real bugs. I assume you wanted the updated [PATCH 3/4] PCI/PM: Fix config reg access ... patch posted Aug 15. I merged these (with the updated 3/4 patch)

[GIT PULL for v3.6-rc3] media fixes

2012-08-21 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For bug fixes, at soc_camera, si470x, uvcvideo, iguanaworks IR driver, radio_shark Kbuild fixes, and at the V4L2 core (radio fixes). Thank you! Mauro - The following changes since

[PATCH 1/1] tcp: Wrong timeout for SYN segments

2012-08-21 Thread Alex Bergmann
Hi David, I'm not 100% sure, but it looks like I found an RFC mismatch with the current default values of the TCP implementation. Alex From 8b854a525eb45f64ad29dfab16f9d9f681e84495 Mon Sep 17 00:00:00 2001 From: Alexander Bergmann a...@linlab.net Date: Wed, 22 Aug 2012 00:29:08 +0200 Subject:

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-08-21 Thread Jim Rees
Al Viro wrote: On Tue, Aug 21, 2012 at 05:22:27PM -0400, Jim Rees wrote: J. Bruce Fields wrote: From: J. Bruce Fields bfie...@redhat.com I've seen a couple examples recently where we've gotten this wrong. Maybe something like this would help? Is there some better

Re: [PATCH v8 1/5] mm: introduce a common interface for balloon pages mobility

2012-08-21 Thread Michael S. Tsirkin
On Tue, Aug 21, 2012 at 04:34:39PM -0300, Rafael Aquini wrote: On Tue, Aug 21, 2012 at 10:16:12PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 21, 2012 at 02:55:03PM -0300, Rafael Aquini wrote: On Tue, Aug 21, 2012 at 04:52:23PM +0300, Michael S. Tsirkin wrote: + *

Re: [PATCH v8 1/5] mm: introduce a common interface for balloon pages mobility

2012-08-21 Thread Michael S. Tsirkin
On Tue, Aug 21, 2012 at 05:45:56PM -0300, Rafael Aquini wrote: On Tue, Aug 21, 2012 at 10:30:31PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 21, 2012 at 04:23:58PM -0300, Rafael Aquini wrote: On Tue, Aug 21, 2012 at 10:13:30PM +0300, Michael S. Tsirkin wrote: I believe

Re: [GIT] Networking

2012-08-21 Thread Al Viro
On Tue, Aug 21, 2012 at 04:38:23PM -0700, David Miller wrote: 8) Fix all the netprio file handling bugs found by Al Viro, from John Fastabend. Great, I was just about to start figuring out how to deal with inter-tree dependencies; now I'll just rebase my internal queue ;-) (I've added

Re: [PATCH v9 2/2] kvm: On Ack, De-assert Notify KVM_IRQFD extension

2012-08-21 Thread Michael S. Tsirkin
On Tue, Aug 21, 2012 at 03:11:41PM -0600, Alex Williamson wrote: On Tue, 2012-08-21 at 23:37 +0300, Michael S. Tsirkin wrote: On Tue, Aug 21, 2012 at 01:29:14PM -0600, Alex Williamson wrote: For VFIO based device assignment we'd like a mechanism to allow level triggered interrutps to be

Re: [PATCH v9 0/2] kvm: level irqfd support

2012-08-21 Thread Michael S. Tsirkin
On Tue, Aug 21, 2012 at 01:28:57PM -0600, Alex Williamson wrote: Here's the much anticipated re-write of support for level irqfds. As Michael suggested, I've rolled the eoi/ack notification fd into KVM_IRQFD as a new mode. For lack of a better name, as there seems to be objections to

[PATCH 0/4] Time fixes for 3.6

2012-08-21 Thread John Stultz
Thomas, Ingo, Here are four small time fixes for 3.6 that apply against tip/timers/urgent. One patch resolves the suspend issue Andreas saw. The next two are casting fixes for potential overflows on 32bits, that Andreas found, but haven't been observed in the wild. Finally the last one

[PATCH 1/4] time: Ensure we normalize the timekeeper in tk_xtime_add

2012-08-21 Thread John Stultz
Andreas noticed problems with resume on specific hardware after commit 1e75fa8be9fb61e1af46b5b3b176347a4c958ca1 combined with commit b44d50dcacea0d485ca2ff9140f8cc28ee22f28d After some digging I realized we aren't normalizing the timekeeper after the add. This patch to correct this resolved the

<    3   4   5   6   7   8   9   10   11   12   >