Re: [PATCH net-next 0/7] sctp: network namespace support Part 2: per net tunables

2012-08-15 Thread David Miller
From: ebied...@xmission.com (Eric W. Biederman) Date: Tue, 07 Aug 2012 10:17:02 -0700 Since I am motivated to get things done, and since there has been much grumbling about my patches not implementing tunables, I have added tunable support on top of my last patchset. I have performed

v3.5 nfsd4 regression; utime sometimes takes 40+ seconds to return

2012-08-15 Thread Jamie Heilman
I really wish I could have nailed this down better, but I've had a hard time reliably reproducing the problem during bisection, and I haven't seen anyone report a similar sounding problem. Here's what I've seen: since 3.5 I've been having spurious delays on my nfs clients, noticable particularly

Re: [PATCH 2/2] iommu/tegra: smmu: Use __debugfs_create_dir

2012-08-15 Thread Hiroshi Doyu
Hi, Thank you for review. Already sent the another version of patch(v2: *1), but I tried to answer the remaining questions inlined. On Wed, 8 Aug 2012 17:31:02 +0200 Felipe Balbi ba...@ti.com wrote: * PGP Signed by an unknown key Hi, On Wed, Aug 08, 2012 at 06:11:29PM +0300, Felipe

Re: [REGRESION] Suspend hangs with 3.6-rc1 on Lenovo T60 notebook

2012-08-15 Thread Hans de Goede
Hi, On 08/15/2012 07:13 AM, Miklos Szeredi wrote: Suspend oopses in generic_ide_suspend() because dev_get_drvdata() returns NULL (dev-p-driver_data == NULL) and this function is not prepared for this. I bisected it to 0998d063 (device-core: Ensure drvdata = NULL when no driver is bound).

Re: [PATCH v2 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-15 Thread Arnd Bergmann
On Tuesday 14 August 2012, wei_w...@realsil.com.cn wrote: + +void rtsx_pci_start_run(struct rtsx_pcr *pcr) +{ + /* If pci device removed, don't queue idle work any more */ + if (pcr-remove_pci) + return; + + if (pcr-state != PDEV_STAT_RUN) { +

[PATCH] extcon-max8997: remove usage of ret in max8997_muic_handle_charger_type_detach

2012-08-15 Thread Devendra Naga
actually we can do returns with error or success with out ret in this function, so remove the ret variable, and reduce a very little (4byte) space on stack of this function Signed-off-by: Devendra Naga develkernel412...@gmail.com --- compile tested. drivers/extcon/extcon-max8997.c | 6 ++

Re: [Nouveau] [bisected] nouveau: Failed to idle channel x after resume

2012-08-15 Thread Maarten Maathuis
On Mon, Aug 13, 2012 at 9:49 PM, Maxim Levitsky maximlevit...@gmail.com wrote: On Mon, 2012-08-13 at 18:22 +0200, Sven Joachim wrote: On 2012-08-08 08:18 +0200, Sven Joachim wrote: On 2012-08-08 08:08 +0200, Ben Skeggs wrote: On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote:

Re: [PATCH] mtd: kill MTD_NAND_VERIFY_WRITE

2012-08-15 Thread Shmulik Ladkani
Hi Huang, On Tue, 14 Aug 2012 22:38:45 -0400 Huang Shijie shij...@gmail.com wrote: diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 588e989..0ca7257 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -22,15 +22,6 @@ menuconfig MTD_NAND if

Re: [PATCH 2/2] iommu/tegra: smmu: Use __debugfs_create_dir

2012-08-15 Thread Felipe Balbi
Hi, On Wed, Aug 15, 2012 at 09:34:21AM +0300, Hiroshi Doyu wrote: @@ -892,6 +909,164 @@ static struct iommu_ops smmu_iommu_ops = { .pgsize_bitmap = SMMU_IOMMU_PGSIZES, }; +/* Should be in the order of enum */ +static const char * const smmu_debugfs_mc[] = { mc, };

Re: [PATCH] sched: Support compiling out real-time scheduling with REALTIME_SCHED.

2012-08-15 Thread Mike Galbraith
On Tue, 2012-08-14 at 13:50 -0700, Trevor Brandt wrote: diff --git a/init/Kconfig b/init/Kconfig index 3f42cd6..768dc76 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -27,6 +27,13 @@ config IRQ_WORK bool depends on HAVE_IRQ_WORK +config REALTIME_SCHED + bool Realtime

Re: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-15 Thread Éric Piel
On 07-08-12 20:49, Daniel Mack wrote: : I fixed all these issues now and attached a v4. Sorry for the late reply, I had read the v3 but didn't find time to send comments. They are all addressed in v4. For both [PATCH v4 1/2] and [PATCH v3 2/2], here is my: Reviewed-by: Éric Piel

Re: [patch net-next v2 00/15] net: introduce upper device lists and remove dev-master

2012-08-15 Thread Jiri Pirko
Tue, Aug 14, 2012 at 10:32:53PM CEST, bhutchi...@solarflare.com wrote: On Tue, 2012-08-14 at 16:19 -0400, Andy Gospodarek wrote: On Tue, Aug 14, 2012 at 05:05:33PM +0200, Jiri Pirko wrote: Hi all. Recent discussion around [net-next] bonding: don't allow the master to become its slave

Re: [patch 3/8] procfs: Add ability to plug in auxiliary fdinfo providers

2012-08-15 Thread Cyrill Gorcunov
On Wed, Aug 15, 2012 at 01:07:03AM +0100, Al Viro wrote: On Wed, Aug 15, 2012 at 02:21:47AM +0400, Cyrill Gorcunov wrote: Hmm, in very first versions I've been using one -show method, but then I thought that this is not very correlate with seq-files idea where for each record show/next

[no subject]

2012-08-15 Thread David Miller
Please pull to get these two bug fixes. Thanks! The following changes since commit 1a9b4993b70fb1884716902774dc9025b457760d: Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus (2012-08-01 16:47:15 -0700) are available in the git repository at:

Re: [patch net-next v2 01/15] net: introduce upper device lists

2012-08-15 Thread Jiri Pirko
Wed, Aug 15, 2012 at 12:33:44AM CEST, bhutchi...@solarflare.com wrote: On Tue, 2012-08-14 at 17:05 +0200, Jiri Pirko wrote: This lists are supposed to serve for storing pointers to all upper devices. Eventually it will replace dev-master pointer which is used for bonding, bridge, team but it

Re: [PATCH V2 2/2] apple_gmux: Add support for newer hardware

2012-08-15 Thread Bernhard Froemel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/14/2012 07:11 PM, Bernhard Froemel wrote: Need to play around further.. I think I solved the communication problems concerning byte writes to the gmux device. This: http://luna.vmars.tuwien.ac.at/~froemel/rmbp/patch-apple-gmux_v2.txt works

[GIT] Sparc

2012-08-15 Thread David Miller
From: David Miller da...@davemloft.net Date: Wed, 15 Aug 2012 00:44:57 -0700 (PDT) Please pull to get these two bug fixes. Thanks! Sorry, I botched the original Subject, fixed now. The following changes since commit 1a9b4993b70fb1884716902774dc9025b457760d: Merge branch 'upstream' of

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

2012-08-15 Thread Luis R. Rodriguez
On Sun, Aug 12, 2012 at 4:49 PM, Rob Landley r...@landley.net wrote: The analogy I made was with a magazine editor, fighting off sturgeon's law in the slush pile, cherry-picking a few submissions to polish up and include in the next issue of the magazine. In this context, a personalized

RE: [PATCH v7 0/8] Raid: enable talitos xor offload for improving performance

2012-08-15 Thread Liu Qiang-B32616
-Original Message- From: dan.j.willi...@gmail.com [mailto:dan.j.willi...@gmail.com] On Behalf Of Dan Williams Sent: Wednesday, August 15, 2012 4:02 AM To: Liu Qiang-B32616 Cc: dan.j.willi...@intel.com; vinod.k...@intel.com; a...@arndb.de; herb...@gondor.apana.org.au;

Re: yama_ptrace_access_check(): possible recursive locking detected

2012-08-15 Thread Peter Zijlstra
On Tue, 2012-08-14 at 22:56 -0700, Kees Cook wrote: So Oleg's suggestion of removing the locking around the reading of -comm is wrong since it really does need the lock. There's tons of code reading comm without locking.. you're saying that all is broken? -- To unsubscribe from this list: send

Re: [PATCH 2/2] s390: Always use long for ssize_t to match size_t

2012-08-15 Thread Heiko Carstens
On Sun, Aug 12, 2012 at 12:01:34PM +0200, Geert Uytterhoeven wrote: On s390x-linux-gcc, __SIZE_TYPE__ expands to long unsigned int for both 32-bit s390 and 64-bit s390x, as gcc-4.6.3-nolibc/s390x-linux/lib/gcc/s390x-linux/4.6.3/plugin/include/config/s390/linux.h has #define SIZE_TYPE

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

2012-08-15 Thread Joel Becker
On Tue, Jul 10, 2012 at 10:54:44AM +0200, Andrzej Pietrasiewicz wrote: Dear Joel, Thank you for your review. @Sebastian, Alan, Felipe: Thank you, too. On Monday, July 02, 2012 11:09 AM Joel Becker wrote: snip As a prerequisite it adds an operation to configfs. The operation

Re: [PATCH 6/7] HID: picoLCD: disable version check during probe

2012-08-15 Thread Jiri Kosina
On Mon, 30 Jul 2012, Bruno Prémont wrote: Commit 4ea5454203d991ec85264f64f89ca8855fce69b0 [HID: Fix race condition between driver core and ll-driver] introduced new locking around proce/remove functions that prevent any report/reply from hardware to reach driver until it returned from probe.

Re: [PATCH 15/21] net sched: Pass the skb into change so it can access NETLINK_CB

2012-08-15 Thread Jamal Hadi Salim
On Mon, 2012-08-13 at 13:18 -0700, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com cls_flow.c plays with uids and gids. Unless I misread that code it is possible for classifiers to depend on the specific uid and gid values. Therefore I need to know the user namespace

Re: [tip:auto-latest 18/37] kernel/sched/core.c:6460:1: error: 'SD_PREFER_LOCAL' undeclared (first use in this function)

2012-08-15 Thread Peter Zijlstra
On Wed, 2012-08-15 at 08:57 +0800, Alex Shi wrote: Sorry for this mistaken! The following is fixing patch Thanks! -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-15 Thread Daniel Mack
On 15.08.2012 09:13, Éric Piel wrote: On 07-08-12 20:49, Daniel Mack wrote: : I fixed all these issues now and attached a v4. Sorry for the late reply, I had read the v3 but didn't find time to send comments. They are all addressed in v4. For both [PATCH v4 1/2] and [PATCH v3 2/2],

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-15 Thread Peter Zijlstra
On Tue, 2012-08-14 at 15:35 +0800, Alex Shi wrote: Any comments for this rough proposal, specially for the assumptions? Let me read it first ;-) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

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

2012-08-15 Thread Dan Carpenter
I think it would be nice to have another tag for people who fix bugs in the original patch. The Reviewed-by tag implies approval of the whole patch and anyway reviewers don't normally comment unless they see a bug. Maybe something like: Contributor: Your Name em...@address.com So the tags for

Re: [PATCH 0/7] HID: picoLCD updates

2012-08-15 Thread Jiri Kosina
On Mon, 30 Jul 2012, Bruno Prémont wrote: Hi, This series updates picoLCD driver: - split the driver functions into separate files which get included depending on Kconfig selection (implementation for CIR using RC_CORE will follow later) - drop private framebuffer refcounting in favor

Re: 3.5-rc6 configfs BUG_ON

2012-08-15 Thread Joel Becker
On Sun, Jul 15, 2012 at 07:58:31PM -0400, Dave Jones wrote: On Sun, Jul 15, 2012 at 01:58:46PM -0700, Joel Becker wrote: Call Trace: [811ec74f] d_kill+0xaf/0x120 [811ec8a2] dput+0xe2/0x1d0 [811dfaea] path_put+0x1a/0x30 [811d9705]

Re: [PATCH] MIPS: fix module.c build for 32 bit

2012-08-15 Thread David Howells
Rusty Russell ru...@rustcorp.com.au wrote: For a build fix Linux hasn't pulled the asm-generic cleanup patch yet - you missed the merge window, I think. Jonas detected the problem in linux-next. David -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [PATCH] HID: multitouch: Add support for eGalax 0x73f7

2012-08-15 Thread Jiri Kosina
On Thu, 9 Aug 2012, Thierry Reding wrote: Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- drivers/hid/hid-ids.h| 1 + drivers/hid/hid-multitouch.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index

Re: [PATCH v3 1/1] HID:hid-multitouch: Add ELAN production request when resume.

2012-08-15 Thread Jiri Kosina
On Tue, 14 Aug 2012, Scott Liu wrote: Add ELAN production request when resume It would be nice to have some more explanation in the changelog (some variation of the comment in mt_resume() just before usb_control_msg() is issued should be sufficient). Thanks. Signed-off-by: Scott Liu

Re: [PATCH] crypto: twofish - add x86_64/avx assembler implementation

2012-08-15 Thread Jussi Kivilinna
Quoting Johannes Goetzfried johannes.goetzfr...@informatik.stud.uni-erlangen.de: This patch adds a x86_64/avx assembler implementation of the Twofish block cipher. The implementation processes eight blocks in parallel (two 4 block chunk AVX operations). The table-lookups are done in

Re: [PATCH v2] iio: adc: add new lp8788 adc driver

2012-08-15 Thread Lars-Peter Clausen
On 08/10/2012 09:06 AM, Kim, Milo wrote: [...] + switch (mask) { + case IIO_CHAN_INFO_RAW: + *val = result; + return IIO_VAL_INT; + case IIO_CHAN_INFO_SCALE: + *val = adc_const[id] * ((result * 1000 + 500) / 1000); This looks wrong. The

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

2012-08-15 Thread Mel Gorman
On Tue, Aug 14, 2012 at 05:00:49PM -0300, Rafael Aquini wrote: On Tue, Aug 14, 2012 at 10:35:25PM +0300, Michael S. Tsirkin wrote: +/* __isolate_lru_page() counterpart for a ballooned page */ +bool isolate_balloon_page(struct page *page) +{ + if

Re: [PATCH] mtd: kill MTD_NAND_VERIFY_WRITE

2012-08-15 Thread Huang Shijie
于 2012年08月15日 15:06, Shmulik Ladkani 写道: Hi Huang, On Tue, 14 Aug 2012 22:38:45 -0400 Huang Shijieshij...@gmail.com wrote: diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 588e989..0ca7257 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -22,15

RE: [PATCH 02/16] user_ns: use new hashtable implementation

2012-08-15 Thread David Laight
Yes hash_32 seems reasonable for the uid hash. With those long hash chains I wouldn't like to be on a machine with 10,000 processes with each with a different uid, and a processes calling setuid in the fast path. The uid hash that we are playing with is one that I sort of wish that the

Re: [PATCH] drivers/iio/adc/at91_adc.c: use devm_ functions

2012-08-15 Thread Lars-Peter Clausen
On 08/14/2012 10:32 PM, Jonathan Cameron wrote: Lars-Peter, Are you happy with this updated version? Can't immediately find any response from you to it. I think it is ok, you can add my Reviewed-by: Lars-Peter Clausen l...@metafoo.de. One minor nitpick though. Jonathan From: Julia

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

2012-08-15 Thread Mel Gorman
On Tue, Aug 14, 2012 at 05:11:13PM -0300, Rafael Aquini wrote: On Tue, Aug 14, 2012 at 10:51:39PM +0300, Michael S. Tsirkin wrote: What I think you should do is use rcu for access. And here sync rcu before freeing. Maybe an overkill but at least a documented synchronization primitive, and

Re: [ 10/65] ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+

2012-08-15 Thread Will Deacon
Hi Ben, On Wed, Aug 15, 2012 at 05:29:26AM +0100, Ben Hutchings wrote: On Mon, 2012-08-13 at 15:13 -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Will

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

2012-08-15 Thread Glauber Costa
On 08/14/2012 07:16 PM, Mel Gorman wrote: On Thu, Aug 09, 2012 at 05:01:15PM +0400, 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

Re: ext4fs error ext4_mb_generate_buddy:741:group 16, 8160 clusters in bitmap, 4064 in gd (with repro)

2012-08-15 Thread Lukáš Czerner
On Thu, 9 Aug 2012, Theodore Ts'o wrote: Date: Thu, 9 Aug 2012 13:06:40 -0400 From: Theodore Ts'o ty...@mit.edu To: Lukas Czerner lczer...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com, Linux Kernel mailinlinux-e...@vger.kernel.orgg List linux-kernel@vger.kernel.org,

Re: [PATCH] drivers/iio/adc/at91_adc.c: use devm_ functions

2012-08-15 Thread Julia Lawall
devm_request_and_ioremap will already print a error messages on it's own if something goes wrong. So strictly speaking this one is redundant, but I don't think it is necessary to do a resend just for this, maybe you can remove the extra dev_err when you apply the patch. Thanks for pointing that

[PATCH v4 1/1] HID:hid-multitouch: Add ELAN production request when resume.

2012-08-15 Thread Scott Liu
Add ELAN production request when resume. Some Elan legacy devices require SET_IDLE to be set on resume. It should be safe to send it to other devices too. Tested on 3M, Stantum, Cypress, Zytronic, eGalax, and Elan panels. Signed-off-by: Scott Liu scott@emc.com.tw Suggested-off-by: Benjamin

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

2012-08-15 Thread Glauber Costa
On 08/14/2012 10:58 PM, Greg Thelen wrote: On Mon, Aug 13 2012, Glauber Costa wrote: + WARN_ON(mem_cgroup_is_root(memcg)); + size = (1 order) PAGE_SHIFT; + memcg_uncharge_kmem(memcg, size); + mem_cgroup_put(memcg); Why do we need ref-counting here ? kmem res_counter cannot work as

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

2012-08-15 Thread Michal Hocko
On Thu 09-08-12 17:01:15, Glauber Costa wrote: [...] diff --git a/mm/page_alloc.c b/mm/page_alloc.c index b956cec..da341dc 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -2532,6 +2532,7 @@ __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order, struct page *page = NULL;

[patch 0/8] procfs, fdinfo updated

2012-08-15 Thread Cyrill Gorcunov
Hi guys, here is an updated series. As being discussed with Al the fdinfo helper provided via file_operations. Also I've dropped CONFIG_CHECKPOINT_RESTORE wrap from inside of particular subsystems, thus this new feature will be available by default. I've tested the whole series but additional

[patch 6/8] fs, eventfd: Add procfs fdinfo helper

2012-08-15 Thread Cyrill Gorcunov
This allow us to print out raw counter value. The /proc/pid/fdinfo/fd output is | pos: 0 | flags: 04002 | eventfd-count: 5a Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org CC: Pavel Emelyanov xe...@parallels.com CC: Al Viro v...@zeniv.linux.org.uk CC: Alexey Dobriyan

[patch 5/8] fs, notify: Add procfs fdinfo helper v3

2012-08-15 Thread Cyrill Gorcunov
This allow us to print out fsnotify details such as watchee inode, device, mask and file handle. For example for inotify objects the output is | pos: 0 | flags: 0200 | inotify wd:3 ino: 9e7e sdev: 800013 mask: 800afce ignored_mask:0 fhandle-bytes:

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

2012-08-15 Thread Michael S. Tsirkin
On Wed, Aug 15, 2012 at 10:05:28AM +0100, Mel Gorman wrote: On Tue, Aug 14, 2012 at 05:11:13PM -0300, Rafael Aquini wrote: On Tue, Aug 14, 2012 at 10:51:39PM +0300, Michael S. Tsirkin wrote: What I think you should do is use rcu for access. And here sync rcu before freeing. Maybe an

[patch 8/8] fdinfo: Show sigmask for signalfd fd v2

2012-08-15 Thread Cyrill Gorcunov
Signed-off-by: Pavel Emelyanov xe...@parallels.com Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org --- fs/proc/array.c |2 +- fs/signalfd.c | 26 ++ include/linux/proc_fs.h |3 +++ 3 files changed, 30 insertions(+), 1 deletion(-) Index:

[patch 3/8] procfs: Add ability to plug in auxiliary fdinfo providers

2012-08-15 Thread Cyrill Gorcunov
This patch brings ability to print out auxiliary data associated with file in procfs interface /proc/pid/fdinfo/fd. In particular further patches make eventfd, evenpoll, signalfd and fsnotify to print additional information complete enough to restore these objects after checkpoint. To simplify

[patch 2/8] procfs: Convert /proc/pid/fdinfo/ handling routines to seq-file

2012-08-15 Thread Cyrill Gorcunov
This patch converts /proc/pid/fdinfo/ handling routines to seq-file which is needed to extend seq operations and plug in auxiliary fdinfo provides from subsystems like eventfd/eventpoll/fsnotify. Note the proc_fd_link no longer call for proc_fd_info, simply because proc_fd_info is converted to

[patch 7/8] fs, epoll: Add procfs fdinfo helper v2

2012-08-15 Thread Cyrill Gorcunov
This allow us to print out eventpoll target file descriptor, events and data, the /proc/pid/fdinfo/fd consists of | pos: 0 | flags: 02 | tfd:5 events: 1d data: This feature is CONFIG_CHECKPOINT_RESTORE only. Signed-off-by: Cyrill Gorcunov

[patch 1/8] procfs: Move /proc/pid/fd[info] handling code to fd.[ch]

2012-08-15 Thread Cyrill Gorcunov
This patch prepares the ground for further extension of /proc/pid/fd[info] handling code by moving fdinfo handling code into fs/proc/fd.c. I think such move makes both fs/proc/base.c and fs/proc/fd.c easier to read. Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org Acked-by: Pavel Emelyanov

Mmap on SSD (directly mapping the device vs. mapping a file)

2012-08-15 Thread Daniel Noack
Hi, folks! Like you can see on the subject I experimented a little with mmap in the last time. I've written a little B+tree library which uses mmap to store the tree to a file or the whole device (means it is also possible to map the raw device (i.e. /dev/sdb)). I used msync after every

[patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-15 Thread Cyrill Gorcunov
To provide fsnotify object inodes being watched without binding to alphabetical path we need to encode them with exportfs help. This patch adds a helper which operates with plain inodes directly. Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org Acked-by: Pavel Emelyanov xe...@parallels.com CC:

Re: [PATCH] crypto: twofish - add x86_64/avx assembler implementation

2012-08-15 Thread Borislav Petkov
On Wed, Aug 15, 2012 at 11:42:16AM +0300, Jussi Kivilinna wrote: I started thinking about the performance on AMD Bulldozer. vmovq/vmovd/vpextr*/vpinsr* between FPU and general purpose registers on AMD CPU is alot slower (latencies from 8 to 12 cycles) than on Intel sandy-bridge (where

[PATCH] kconfig: remove CONFIG_MTD_NAND_VERIFY_WRITE

2012-08-15 Thread Huang Shijie
Just as Artem suggested: Both UBI and JFFS2 are able to read verify what they wrote already. There are also MTD tests which do this verification. So I think there is no reason to keep this in the NAND layer, let alone wasting RAM in the driver to support this feature. So kill

[PATCH] video:uvesafb: reduce the double check

2012-08-15 Thread Wang YanQing
uvesafb_open had checked the par-vbe_state_size, so we don't need to check it again in uvesafb_vbe_state_save, this patch just can reduce a few lines of code. Signed-off-by: Wang YanQing udkni...@gmail.com --- drivers/video/uvesafb.c | 3 --- 1 file changed, 3 deletions(-) diff --git

Re: [PATCH 7/8] kbuild: move W=... stuff to Kbuild.arch

2012-08-15 Thread Artem Bityutskiy
On Wed, 2012-06-06 at 17:35 +0200, Sam Ravnborg wrote: On Wed, Jun 06, 2012 at 01:18:47PM +0300, Artem Bityutskiy wrote: On Sat, 2012-05-05 at 10:18 +0200, Sam Ravnborg wrote: Prevent that we eveluate cc-option multiple times for the same option by moving the definitions to Kbuild.arch.

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

2012-08-15 Thread Glauber Costa
We always account to both user and kernel resource_counters. This effectively means that an independent kernel limit is in place when the limit is set to a lower value than the user memory. A equal or higher value means that the user limit will always hit first, meaning that kmem is

Re: [PATCH v4 1/1] HID:hid-multitouch: Add ELAN production request when resume.

2012-08-15 Thread Jiri Kosina
On Wed, 15 Aug 2012, Scott Liu wrote: Add ELAN production request when resume. Some Elan legacy devices require SET_IDLE to be set on resume. It should be safe to send it to other devices too. Tested on 3M, Stantum, Cypress, Zytronic, eGalax, and Elan panels. Signed-off-by: Scott Liu

Re: [PATCH 0/7] HID: picoLCD updates

2012-08-15 Thread Bruno Prémont
Hi Jiri, On Wed, 15 August 2012 Jiri Kosina jkos...@suse.cz wrote: On Mon, 30 Jul 2012, Bruno Prémont wrote: Hi, This series updates picoLCD driver: - split the driver functions into separate files which get included depending on Kconfig selection (implementation for CIR using

[PATCH] act_mirred: do not drop packets when fails to mirror it

2012-08-15 Thread Jason Wang
We drop packet unconditionally when we fail to mirror it. This is not intended in some cases. Consdier for kvm guest, we may mirror the traffic of the bridge to a tap device used by a VM. When kernel fails to mirror the packet in conditions such as when qemu crashes or stop polling the tap, it's

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

2012-08-15 Thread Glauber Costa
+ * memcg_kmem_new_page: verify if a new kmem allocation is allowed. + * @gfp: the gfp allocation flags. + * @handle: a pointer to the memcg this was charged against. + * @order: allocation order. + * + * returns true if the memcg where the current task belongs can hold this + *

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

2012-08-15 Thread Mel Gorman
On Wed, Aug 15, 2012 at 12:25:28PM +0300, Michael S. Tsirkin wrote: On Wed, Aug 15, 2012 at 10:05:28AM +0100, Mel Gorman wrote: On Tue, Aug 14, 2012 at 05:11:13PM -0300, Rafael Aquini wrote: On Tue, Aug 14, 2012 at 10:51:39PM +0300, Michael S. Tsirkin wrote: What I think you should do is

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

2012-08-15 Thread Gleb Natapov
On Tue, Aug 14, 2012 at 02:35:34PM -0500, Anthony Liguori wrote: Do you consider allowing support for Windows as overengineering? I don't think there is a way to hook BSOD on Windows so attempting to engineer something that works with Windows seems odd, no? Yan says in other email that is

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

2012-08-15 Thread Michael S. Tsirkin
On Wed, Aug 15, 2012 at 10:48:39AM +0100, Mel Gorman wrote: On Wed, Aug 15, 2012 at 12:25:28PM +0300, Michael S. Tsirkin wrote: On Wed, Aug 15, 2012 at 10:05:28AM +0100, Mel Gorman wrote: On Tue, Aug 14, 2012 at 05:11:13PM -0300, Rafael Aquini wrote: On Tue, Aug 14, 2012 at 10:51:39PM

RE: [NEW DRIVER V2 5/7] DA9058 GPIO driver

2012-08-15 Thread Opensource [Anthony Olech]
-Original Message- From: Linus Walleij [mailto:linus.wall...@linaro.org] Sent: 13 August 2012 14:10 To: Opensource [Anthony Olech] Cc: Grant Likely; Linus Walleij; Mark Brown; LKML; David Dajun Chen; Samuel Ortiz; Lee Jones Subject: Re: [NEW DRIVER V2 5/7] DA9058 GPIO driver Hi

Re: [PATCH 7/8] kbuild: move W=... stuff to Kbuild.arch

2012-08-15 Thread Sam Ravnborg
On Wed, Aug 15, 2012 at 12:41:23PM +0300, Artem Bityutskiy wrote: On Wed, 2012-06-06 at 17:35 +0200, Sam Ravnborg wrote: On Wed, Jun 06, 2012 at 01:18:47PM +0300, Artem Bityutskiy wrote: On Sat, 2012-05-05 at 10:18 +0200, Sam Ravnborg wrote: Prevent that we eveluate cc-option multiple

[perf] make clean problematic bashism

2012-08-15 Thread Wouter M. Koolen
Dear perf maintainers, I attempted to compile perf 3.5.1 without worrying about installing dependencies first. The resulting error messages were quite helpful, and led me to install a bunch of development libraries and flex. Unfortunately, after installing flex the build still failed, even

Re: [perf] make clean problematic bashism

2012-08-15 Thread Peter Zijlstra
On Wed, 2012-08-15 at 11:52 +0200, Wouter M. Koolen wrote: Dear perf maintainers, I attempted to compile perf 3.5.1 without worrying about installing dependencies first. The resulting error messages were quite helpful, and led me to install a bunch of development libraries and flex.

Re: [PATCH] perf: Let O= makes handle relative paths

2012-08-15 Thread Borislav Petkov
On Mon, Aug 13, 2012 at 03:02:49PM -0300, Arnaldo Carvalho de Melo wrote: [acme@sandy linux]$ rm -rf ../build/perf [acme@sandy linux]$ make -j8 -C tools/perf/ LIBUNWIND_DIR=/opt/libunwind O=/home/acme/git/build/perf install /bin/sh: line 0: cd: /home/acme/git/build/perf: No such file or

Re: [PATCH 1/2] mtd: lpc32xx_slc: Adjust to pl08x DMA interface changes

2012-08-15 Thread Artem Bityutskiy
On Thu, 2012-07-12 at 14:22 +0200, Roland Stigge wrote: This patch adjusts the LPC32xx SLC NAND driver to the new pl08x DMA interface, fixing the compile error resulting from changed pl08x structures. Signed-off-by: Roland Stigge sti...@antcom.de This patch breaks compilation: ERROR:

Re: [perf] make clean problematic bashism

2012-08-15 Thread Wouter M. Koolen
On 08/15/2012 12:26 PM, Peter Zijlstra wrote: On Wed, 2012-08-15 at 11:52 +0200, Wouter M. Koolen wrote: Dear perf maintainers, I attempted to compile perf 3.5.1 without worrying about installing dependencies first. The resulting error messages were quite helpful, and led me to install a bunch

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

2012-08-15 Thread Konrad Rzeszutek Wilk
On Fri, Aug 10, 2012 at 01:14:01PM -0500, Seth Jennings wrote: 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,

Re: [PATCH 0/7] zram/zsmalloc promotion

2012-08-15 Thread Konrad Rzeszutek Wilk
On Tue, Aug 14, 2012 at 12:39:25PM -0500, Seth Jennings wrote: On 08/14/2012 12:36 AM, Nitin Gupta wrote: On 08/13/2012 07:35 PM, Greg Kroah-Hartman wrote: On Wed, Aug 08, 2012 at 03:12:13PM +0900, Minchan Kim wrote: This patchset promotes zram/zsmalloc from staging. Both are very clean

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

2012-08-15 Thread Avi Kivity
On 08/14/2012 06:51 PM, Marcelo Tosatti wrote: Userspace may want to modify the ROM (for example, when programming a flash device). It is also possible to map an hva range rw through one slot and ro through another. Right, can do that with multiple userspace maps to the same anonymous

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

2012-08-15 Thread Glauber Costa
On 08/15/2012 01:42 PM, Glauber Costa wrote: Also, as I have mentioned in the other email in this thread. Why should we reclaim just because of kernel allocation when we are not reclaiming any of it because shrink_slab is ignored in the memcg reclaim. Don't get too distracted by the fact

Re: [PATCH 7/7] perf gtk/browser: Use hist_period_print functions

2012-08-15 Thread Pekka Enberg
On Mon, 6 Aug 2012, Namhyung Kim wrote: Now we can support color using pango markup with this change. Cc: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org Awesome! Acked-by: Pekka Enberg penb...@kernel.org -- To unsubscribe from this list: send the line

Re: [net PATCH v3 1/3] net: netprio: fix files lock and remove useless d_path bits

2012-08-15 Thread Neil Horman
On Tue, Aug 14, 2012 at 03:34:24PM -0700, John Fastabend wrote: Add lock to prevent a race with a file closing and also remove useless and ugly sscanf code. The extra code was never needed and the case it supposedly protected against is in fact handled correctly by sock_from_file as pointed

Re: [net PATCH v3 2/3] net: netprio: fd passed in SCM_RIGHTS datagram not set correctly

2012-08-15 Thread Neil Horman
On Tue, Aug 14, 2012 at 03:34:30PM -0700, John Fastabend wrote: A socket fd passed in a SCM_RIGHTS datagram was not getting updated with the new tasks cgrp prioidx. This leaves IO on the socket tagged with the old tasks priority. To fix this add a check in the scm recvmsg path to update the

Re: [net PATCH v3 3/3] net: netprio: fix cgrp create and write priomap race

2012-08-15 Thread Neil Horman
On Tue, Aug 14, 2012 at 03:34:35PM -0700, John Fastabend wrote: A race exists where creating cgroups and also updating the priomap may result in losing a priomap update. This is because priomap writers are not protected by rtnl_lock. Move priority writer into rtnl_lock()/rtnl_unlock().

Re: [PATCH 0/2] Align MIPS swapper_pg_dir for faster code.

2012-08-15 Thread Ralf Baechle
On Tue, Aug 14, 2012 at 11:07:59AM -0700, David Daney wrote: From: David Daney david.da...@cavium.com The MIPS swapper_pg_dir needs 64K alignment for faster TLB refills in kernel mappings. There are two parts to the patch set: 1) Modify generic vmlinux.lds.h to allow architectures to

Re: [PATCHSET] timer: clean up initializers and implement irqsafe timers

2012-08-15 Thread Peter Zijlstra
On Tue, 2012-08-14 at 17:18 -0700, Tejun Heo wrote: Let's see if we can agree on the latter point first. Do you agree that it wouldn't be a good idea to implement relatively complex timer subsystem inside workqueue? RB-trees are fairly trivial to use, but can we please get back to why people

Re: [PATCH] crypto: twofish - add x86_64/avx assembler implementation

2012-08-15 Thread Jussi Kivilinna
Quoting Borislav Petkov b...@alien8.de: On Wed, Aug 15, 2012 at 11:42:16AM +0300, Jussi Kivilinna wrote: I started thinking about the performance on AMD Bulldozer. vmovq/vmovd/vpextr*/vpinsr* between FPU and general purpose registers on AMD CPU is alot slower (latencies from 8 to 12 cycles)

[PATCH] scripts/decodecode: Fixup trapping instruction marker

2012-08-15 Thread Borislav Petkov
From: Borislav Petkov borislav.pet...@amd.com When dumping Code: sections from an oops, the trapping instruction %rip points to can be a string copy 2b:* f3 a5 rep movsl %ds:(%rsi),%es:(%rdi) and the line contain a bunch of :. Current cut selects only the and the second

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-15 Thread Peter Zijlstra
On Mon, 2012-08-13 at 20:21 +0800, Alex Shi wrote: Since there is no power saving consideration in scheduler CFS, I has a very rough idea for enabling a new power saving schema in CFS. Adding Thomas, he always delights poking holes in power schemes. It bases on the following assumption: 1,

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

2012-08-15 Thread James Bottomley
On Wed, 2012-08-15 at 13:33 +0400, Glauber Costa wrote: This can be quite confusing. I am still not sure whether we should mix the two things together. If somebody wants to limit the kernel memory he has to touch the other limit anyway. Do you have a strong reason to mix the user and

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

2012-08-15 Thread Mel Gorman
On Wed, Aug 15, 2012 at 01:01:08PM +0300, Michael S. Tsirkin wrote: On Wed, Aug 15, 2012 at 10:48:39AM +0100, Mel Gorman wrote: On Wed, Aug 15, 2012 at 12:25:28PM +0300, Michael S. Tsirkin wrote: On Wed, Aug 15, 2012 at 10:05:28AM +0100, Mel Gorman wrote: On Tue, Aug 14, 2012 at

[PATCH-V2] arm/dts: AM33XX: Set the default status of module to disabled state

2012-08-15 Thread Vaibhav Hiremath
Ideally in common SoC dtsi file should set all modules to disabled state and it should get enabled in respective EVM/Board dts file as per usage. This patch sets default status of all modules to disabled state in am33xx.dtsi file. Currently there are no modules supported as part of Bone and EVM

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

2012-08-15 Thread Michael S. Tsirkin
On Wed, Aug 15, 2012 at 12:16:51PM +0100, Mel Gorman wrote: On Wed, Aug 15, 2012 at 01:01:08PM +0300, Michael S. Tsirkin wrote: On Wed, Aug 15, 2012 at 10:48:39AM +0100, Mel Gorman wrote: On Wed, Aug 15, 2012 at 12:25:28PM +0300, Michael S. Tsirkin wrote: On Wed, Aug 15, 2012 at

[tip:sched/core] tile: Remove SD_PREFER_LOCAL leftover

2012-08-15 Thread tip-bot for Alex Shi
Commit-ID: c7660994ed6b44d17dad0aac0d156da1e0a2f003 Gitweb: http://git.kernel.org/tip/c7660994ed6b44d17dad0aac0d156da1e0a2f003 Author: Alex Shi alex@intel.com AuthorDate: Wed, 15 Aug 2012 08:14:36 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 15 Aug 2012

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

2012-08-15 Thread Yan Vugenfirer
On Aug 14, 2012, at 10:35 PM, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: On Tue, Aug 14, 2012 at 01:53:01PM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: On Tue, Aug 14, 2012 at 05:55:54PM +0300, Yan Vugenfirer wrote: On Aug 14,

Re: [PATCH 0/6][resend] mempolicy memory corruption fixlet

2012-08-15 Thread Josh Boyer
On Mon, Aug 6, 2012 at 3:32 PM, KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com wrote: On 7/31/2012 8:33 AM, Josh Boyer wrote: On Mon, Jun 11, 2012 at 5:17 AM, kosaki.motoh...@gmail.com wrote: From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Hi This is trivial fixes of mempolicy meory

Re: [PATCH] time: Improve sanity checking of timekeeping inputs

2012-08-15 Thread Josh Boyer
On Wed, Aug 8, 2012 at 3:36 PM, John Stultz john.stu...@linaro.org wrote: Thomas, Ingo, Here's a fix against tip/timers/urgent that addresses timekeeping edge cases detected by both a bad BIOS and system fuzzing w/ trinity. Thanks to Sasha Levin and CAI Qian for finding and reporting

Re: [PATCH 0/5] Call netif_carrier_off() after register_netdev()

2012-08-15 Thread Bjørn Mork
Ben Hutchings bhutchi...@solarflare.com writes: But if you do it beforehand then it doesn't have the intended effect. (Supposed to be fixed by 22604c866889c4b2e12b73cbf1683bda1b72a313, which had to be reverted: c276e098d3ee33059b4a1c747354226cec58487c.) So you have to do it after, but

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

2012-08-15 Thread Yan Vugenfirer
On Aug 15, 2012, at 12:56 PM, Gleb Natapov wrote: On Tue, Aug 14, 2012 at 02:35:34PM -0500, Anthony Liguori wrote: Do you consider allowing support for Windows as overengineering? I don't think there is a way to hook BSOD on Windows so attempting to engineer something that works with

  1   2   3   4   5   6   7   8   9   10   >