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

2012-12-02 Thread Lin Feng
On 11/30/2012 06:47 PM, Andrew Morton wrote: > On Fri, 30 Nov 2012 18:29:30 +0800 Lin Feng wrote: > >>> add a new library function which callers can use before (or after?) >>> calling get_user_pages[_fast](). >> Sorry, I'm not quite understand what "library function" function means.. >> Does it

Re: [PATCH 5/6] rtl8712: remove useless calls to memset().

2012-12-02 Thread Larry Finger
On 12/01/2012 08:40 PM, Cyril Roelandt wrote: These calls are followed by calls to memcpy() on the same memory area, so they can be safely removed. Signed-off-by: Cyril Roelandt --- drivers/staging/rtl8712/mlme_linux.c|2 -- drivers/staging/rtl8712/rtl871x_cmd.c |1 -

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

2012-12-02 Thread Bob Liu
On Fri, Nov 30, 2012 at 11:03 PM, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > Don't forget to account newly allocated page in fallback path for > copy-on-write of huge zero page. > What about fallback path in do_huge_pmd_wp_page_fallback()? I think we should also account newly all

RE: [PATCH v3 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-02 Thread Dudley Du
Hi Kamal, I'm the writer of this driver. Thanks for help upstream this driver. I noticed that you marked out the reconnect function for it never work at all. But in my test, it seems work fine. I do the test steps as below: 1. load this driver with Cypress trackpad. Cursor moving on system; 2. di

[PATCH net-next] tuntap: attach queue 0 before registering netdevice

2012-12-02 Thread Jason Wang
We attach queue 0 after registering netdevice currently. This leads to call netif_set_real_num_{tx|rx}_queues() after registering the netdevice. Since we allow tun/tap has a maximum of 1024 queues, this may lead a huge number of uevents to be injected to userspace since we create 2048 kobjects and

Re: [RFC][PATCH 2/2] modsig: differentiate between ephemeral and persistent key names

2012-12-02 Thread Mimi Zohar
On Mon, 2012-12-03 at 11:56 +1030, Rusty Russell wrote: > Mimi Zohar writes: > > Using the same name for ephemeral and "persistent" keys results > > in deleting the "persistent" key. This patch renames the normal > > kbuild asymmetric key pair name to "default_signing_key" and the > > ephemeral k

linux-next: manual merge of the tip tree with Linus' tree

2012-12-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in tools/perf/Makefile between commit d2709c7ce4c5 ("perf: Make perf build for x86 with UAPI disintegration applied") from Linus' tree and commit 945aea220bb8 ("perf tests: Move test objects into 'tests' directory") from the tip tree.

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-12-02 Thread Hanjun Guo
On 2012/11/30 6:27, Toshi Kani wrote: > On Thu, 2012-11-29 at 12:48 +0800, Hanjun Guo wrote: >> On 2012/11/29 2:41, Toshi Kani wrote: >>> On Wed, 2012-11-28 at 19:05 +0800, Hanjun Guo wrote: On 2012/11/24 1:50, Vasilis Liaskovitis wrote: > As discussed in https://patchwork.kernel.org/patch

[PATCH 0/1] regulator: new driver for LP8755

2012-12-02 Thread Daniel Jeong
From: Daniel Jeong This driver is a general version for lp8755 regulator driver of TI. LP8755 : The LP8755 is a high performance power management unit.It contains six step-down DC-DC converters which can be filexibly bundled together in multiphase converters as required by application. www.ti.c

[PATCH 1/1] regulator: new driver for LP8755

2012-12-02 Thread Daniel Jeong
From: Daniel Jeong This driver is a general version for lp8755 regulator driver of TI. LP8755 : The LP8755 is a high performance power management unit.It contains six step-down DC-DC converters which can be filexibly bundled together in multiphase converters as required by application. www.ti.co

Re: [PATCH] lxdialog:inputbox: Fix can't change selected button with Left/Right when input box selected

2012-12-02 Thread Wang YanQing
On Sun, Dec 02, 2012 at 06:32:43PM +0100, Yann E. MORIN wrote: > Wang, All, > > On Sunday 02 December 2012 Wang YanQing wrote: > > inputbox code don't support use Left/Right to change input > > position in the input box, so it use continue to skip them > > when input key is Left/Right, but use bre

Re: [RFC] Capabilities still can't be inherited by normal programs

2012-12-02 Thread Andy Lutomirski
On Sun, Dec 2, 2012 at 6:20 PM, Andrew G. Morgan wrote: > On Sun, Dec 2, 2012 at 3:04 PM, Andy Lutomirski wrote: >> On Sun, Dec 2, 2012 at 2:26 PM, Andrew G. Morgan wrote: >>> On Sun, Dec 2, 2012 at 10:35 AM, Andy Lutomirski >>> wrote: On Sun, Dec 2, 2012 at 9:21 AM, Andrew G. Morgan wro

Re: [PATCH v4]menuconfig: Add Save button

2012-12-02 Thread Wang YanQing
Hi Yann, All, On Sun, Dec 02, 2012 at 06:52:50PM +0100, Yann E. MORIN wrote: > To make the behavior consistent, may I suggest that you push the > concept even a bit further: > - add a "Load" *and* a "Save" buttons > - get rid of the top-level "Load an Alternate Configuration File" >

Re: [PATCH 1/4] rtc: sa1100: enable/disable rtc when probe/remove the device

2012-12-02 Thread devendra.aaru
CCing Andrew as he is the maintainer of the rtc subsystem On Wed, Nov 28, 2012 at 9:21 PM, Chao Xie wrote: > The original sa1100_rtc_open/sa1100_rtc_release will be called > when the /dev/rtc0 is opened or closed. > In fact, these two functions will enable/disable the clock, and > register/unregi

Re: [PATCH 00/52] RFC: Unified NUMA balancing tree, v1

2012-12-02 Thread Ingo Molnar
The unified NUMA Git tree can be found in the -tip numa/base branch: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git numa/base The PROT_NONE -v18 numa/core tree can be found in tip:master: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master Thanks, Ingo --

[patch] Re: [RFC GIT PULL] scheduler fix for autogroups

2012-12-02 Thread Mike Galbraith
On Sun, 2012-12-02 at 11:36 -0800, Linus Torvalds wrote: > On Sun, Dec 2, 2012 at 11:27 AM, Ingo Molnar wrote: > > > > * Mike Galbraith wrote: > > > >> On Sat, 2012-12-01 at 22:44 +0100, Ingo Molnar wrote: > >> > >> > Should we use some other file for that - or no file at all and > >> > just emi

Re: [GIT PULL rcu/next] RCU commits for 3.8

2012-12-02 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > The major features of this series are: > > 1.A first version of no-callbacks CPUs. This version prohibits > offlining CPU 0, but only when enabled via CONFIG_RCU_NOCB_CPU=y. > Relaxing this constraint is in progress, but not yet rea

RE: [PATCH] EXTCON: Get and set cable properties

2012-12-02 Thread anish kumar
On Mon, 2012-12-03 at 01:53 +, Tc, Jenny wrote: > > We discussed about this patch and then suggest some method to resolve this > > issue by Myungjoo Ham. Why don't you write additional feature or your > > opinion based on following patch by Myungjoo Ham? > > - > > http://git.kernel.org/?p=linux

Re: [PATCH 1/4] rtc: sa1100: enable/disable rtc when probe/remove the device

2012-12-02 Thread Haojian Zhuang
On Mon, Dec 3, 2012 at 9:39 AM, Chao Xie wrote: > On Fri, Nov 30, 2012 at 3:04 PM, Haojian Zhuang > wrote: >> On Thu, Nov 29, 2012 at 6:25 PM, Russell King - ARM Linux >> wrote: >>> On Wed, Nov 28, 2012 at 09:21:07PM -0500, Chao Xie wrote: The original sa1100_rtc_open/sa1100_rtc_release wil

Re: [PATCH 1/4] rtc: sa1100: enable/disable rtc when probe/remove the device

2012-12-02 Thread Haojian Zhuang
On Mon, Dec 3, 2012 at 10:53 AM, Chao Xie wrote: > On Mon, Dec 3, 2012 at 9:39 AM, Chao Xie wrote: >> On Fri, Nov 30, 2012 at 3:04 PM, Haojian Zhuang >> wrote: >>> On Thu, Nov 29, 2012 at 6:25 PM, Russell King - ARM Linux >>> wrote: On Wed, Nov 28, 2012 at 09:21:07PM -0500, Chao Xie wrote:

Re: [patch] Re: [RFC GIT PULL] scheduler fix for autogroups

2012-12-02 Thread Ingo Molnar
* Mike Galbraith wrote: > > Willing to write a changelog with the pointer to the actual > > oops that happens due to this issue? > > I don't have a link, so reproduced/captured it. With > systemd-sysvinit (bleh) installed, it's trivial to reproduce: > > Add echo 0 > /proc/sys/kernel/sched_a

[PATCH 1/4] mfd: 88pm80x: fix regmap not init before used

2012-12-02 Thread Qing Xu
From: Qing Xu 1.put the pm800_page_init before 800_init, otherwise power and gpadc regmap handle are not inited before being used. 2.remove regmap exit, as it will be called in driver release 3.add lost "return 0" in probe() 4.update driver's name Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu

[PATCH 2/4] mfd: 88pm80x: move to regmap irq base implementation

2012-12-02 Thread Qing Xu
From: Qing Xu get irq_base for mfd sub-device Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu --- drivers/mfd/88pm800.c |2 +- drivers/mfd/88pm805.c |1 + include/linux/mfd/88pm80x.h |1 + 3 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/88pm8

[PATCH 3/4] onkey: 88pm80x: update irq base

2012-12-02 Thread Qing Xu
From: Qing Xu irq base is stored in 88pm80x's drv data, we need to add irq base to get the correct irq num Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu --- drivers/input/misc/88pm80x_onkey.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/input/misc/8

Re: [PATCH 1/4] rtc: sa1100: enable/disable rtc when probe/remove the device

2012-12-02 Thread Chao Xie
On Mon, Dec 3, 2012 at 1:35 PM, Haojian Zhuang wrote: > On Mon, Dec 3, 2012 at 10:53 AM, Chao Xie wrote: >> On Mon, Dec 3, 2012 at 9:39 AM, Chao Xie wrote: >>> On Fri, Nov 30, 2012 at 3:04 PM, Haojian Zhuang >>> wrote: On Thu, Nov 29, 2012 at 6:25 PM, Russell King - ARM Linux wrote:

[PATCH 4/4] rtc: 88pm80x: update irq base

2012-12-02 Thread Qing Xu
From: Qing Xu irq base is stored in 88pm80x's drv data, we need to add irq base to get the correct irq num Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu --- drivers/rtc/rtc-88pm80x.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-88pm80x.c b/d

[PATCH v2 2/4] mfd: 88pm80x: move to regmap irq base implementation

2012-12-02 Thread Qing Xu
From: Qing Xu get irq_base for mfd sub-device Signed-off-by: Qiao Zhou Signed-off-by: Qing Xu --- drivers/mfd/88pm800.c |2 +- drivers/mfd/88pm805.c |1 + include/linux/mfd/88pm80x.h |1 + 3 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/88pm8

Re: [net-next rfc v7 2/3] virtio_net: multiqueue support

2012-12-02 Thread Jason Wang
On Sunday, December 02, 2012 06:06:31 PM Michael S. Tsirkin wrote: > On Tue, Nov 27, 2012 at 06:15:59PM +0800, Jason Wang wrote: > > This addes multiqueue support to virtio_net driver. In multiple queue > > modes, the driver expects the number of queue paris is equal to the > > number of vcpus. To

linux-next: manual merge of the arm-soc tree with the omap_dss2 tree

2012-12-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/media/platform/omap/omap_vout.c between commit 950e2fb420d5 ("[media] omap_vout: use omapdss's version instead of cpu_is_*") from the omap_dss2 tree and commit 45c3eb7d3a07 ("ARM: OMAP: Move plat-omap/dma-omap.h to incl

linux-next: manual merge of the arm-soc tree with the devicetree tree

2012-12-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-vexpress/v2m.c between commit 465aac6d496a ("Fix build when CONFIG_W1_MASTER_GPIO=m b exporting "allnodes"") from the devicetree tree and commit 0891642cf117 ("ARM: vexpress: Start using new Versatile Express infr

RE: [PATCH v3 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-02 Thread Dudley Du
Hi Kamal, Another question is that new interface input_mt_assign_slots() is introduced since 3.7-rc7 or later, So we could not support the kernel releases that earlier than 3.7-rc7 with this driver. So my idea is that in order to keep compatible with earlier kernel release, Let's use our old me

Re: [net-next rfc v7 2/3] virtio_net: multiqueue support

2012-12-02 Thread Jason Wang
On Monday, December 03, 2012 12:34:08 PM Rusty Russell wrote: > Jason Wang writes: > > +static const struct ethtool_ops virtnet_ethtool_ops; > > + > > +/* > > + * Converting between virtqueue no. and kernel tx/rx queue no. > > + * 0:rx0 1:tx0 2:cvq 3:rx1 4:tx1 ... 2N+1:rxN 2N+2:txN > > + */ > > +s

Re: [net-next rfc v7 3/3] virtio-net: change the number of queues through ethtool

2012-12-02 Thread Jason Wang
On Sunday, December 02, 2012 06:09:06 PM Michael S. Tsirkin wrote: > On Tue, Nov 27, 2012 at 06:16:00PM +0800, Jason Wang wrote: > > This patch implement the {set|get}_channels method of ethool to allow user > > to change the number of queues dymaically when the device is running. > > This would le

Re: [PATCH 0/1] regulator: new driver for LP8755

2012-12-02 Thread Mark Brown
On Mon, Dec 03, 2012 at 01:44:23PM +0900, Daniel Jeong wrote: > From: Daniel Jeong > > This driver is a general version for lp8755 regulator driver of TI. > > LP8755 : > The LP8755 is a high performance power management unit.It contains > six step-down DC-DC converters which can be filexibly bun

linux-next: manual merge of the arm-soc tree with the slave_dma and tree

2012-12-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/dma/mv_xor.c between commit d51e88b99533 ("dma: Convert dev_printk (KERN_ to dev_(") from the slave-dma tree, commits a7d6e3ec28bb ("dma: remove use of __devexit_p") and 463a1f8b3cee ("dma: remove use of __devinit") fro

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-02 Thread Terje Bergström
On 02.12.2012 22:55, Thierry Reding wrote: > FWIW I'm convinced that you're genuinely trying to make this work and > nobody welcomes this more than me. However it is only natural if you > dump such a large body of code on the community that people will > disagree with some of the design decisions.

Re: [PATCH 1/1] regulator: new driver for LP8755

2012-12-02 Thread Wanlong Gao
<...> > + > +static int __devinit lp8755_regulator_init(struct lp8755_chip *pchip) CONFIG_HOTPLUG is going away; it's already defined to always be 'Y'. So, please don't use __devinit anymore. refer to : http://marc.info/?l=linux-i2c&m=135341812915168&w=2 > +{ > + int ret, icnt, buck_num; > +

Re: Partialy mapped page stays in page cache after unmap

2012-12-02 Thread Vineet Gupta
On Tuesday 30 October 2012 11:54 PM, chru...@suse.cz wrote: > Hi! > I'm currently revisiting mmap related tests in LTP (Linux Test Project) > and I've came to the tests testing that writes to the partially > mapped page (at the end of mapping) are carried out correctly. > > These tests fails becau

Re: [PATCH v3 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-02 Thread Henrik Rydberg
Hi Dudley, > Another question is that new interface input_mt_assign_slots() is introduced > since 3.7-rc7 or later, > So we could not support the kernel releases that earlier than 3.7-rc7 with > this driver. The patch is a submission to mainline, so of course it should be in sync with mainline

RE: [PATCH v3 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-02 Thread Dudley Du
Hi Henrik, Okay, agree. Thanks. Best Wishes, Dudley Du d...@cypress.com -Original Message- From: Henrik Rydberg [mailto:rydb...@euromail.se] Sent: Monday, December 03, 2012 2:31 PM To: Dudley Du Cc: Kamal Mostafa; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Dmitry Torokho

[PATCH] Doc: Update the naming of profiling based on sysfs

2012-12-02 Thread Hyeonjun Lim
We setup and run 'profiling' feature under Linux system. The readprofile(1) command uses the /proc/profile information to display ascii data on standard output. sort -nr | head -5 /proc/profile correctly. The ./kernel/ksysfs.c defines 'profiling' w/o 'profile' like "KERNEL_ATTR_RW(profiling)". We

Re: [PATCH 1/1] regulator: new driver for LP8755

2012-12-02 Thread Mark Brown
On Mon, Dec 03, 2012 at 01:44:24PM +0900, Daniel Jeong wrote: > + regval &= ~(0x01 << id); > + > + /* mode fast means forced pwm mode. > +mode normal means not forced pwm mode, according to > +current load it could be one of modes, PWM/PFM/LPPFM. */ > + return regval ?

Re: [3.5/6.x][e1000e] - Regression - Unable to receive packets if MTU == 1500

2012-12-02 Thread Shawn Starr
On Thursday, November 01, 2012 02:01:05 PM Shawn Starr wrote: > Hello network driver folks, To follow up, this is fixed now in 3.6.7-5.fc18.x86_64 [38936.525226] e1000e :00:19.0: eth0: changing MTU from 9000 to 1500 [38936.539510] e1000e :00:19.0: Interrupt Throttle Rate turned on [38939

Re: [net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent

2012-12-02 Thread Jason Wang
On Tuesday, November 27, 2012 08:49:19 AM Stephen Hemminger wrote: > On Tue, 27 Nov 2012 14:45:13 +0800 > > Jason Wang wrote: > > On 11/27/2012 01:37 AM, Stephen Hemminger wrote: > > > On Mon, 26 Nov 2012 15:56:52 +0800 > > > > > > Jason Wang wrote: > > >> Some deivces do not free the old tx sk

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

2012-12-02 Thread Nitin Gupta
On Nov 30, 2012, at 5:54 AM, Minchan Kim wrote: > 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

Re: [RFT PATCH v2 4/5] mm: provide more accurate estimation of pages occupied by memmap

2012-12-02 Thread Chris Clayton
On 12/02/12 19:55, Chris Clayton wrote: On 11/29/12 10:52, Chris Clayton wrote: On 11/28/12 23:52, Andrew Morton wrote: On Wed, 21 Nov 2012 23:09:46 +0800 Jiang Liu wrote: Subject: Re: [RFT PATCH v2 4/5] mm: provide more accurate estimation of pages occupied by memmap How are people to

Re: [PATCH 1/1] regulator: new driver for LP8755

2012-12-02 Thread Mark Brown
On Mon, Dec 03, 2012 at 04:24:43PM +0900, GShark Jeong wrote: > 2012/12/3 Mark Brown > > On Mon, Dec 03, 2012 at 01:44:24PM +0900, Daniel Jeong wrote: > > > + if (ret < 0) > > > + goto out_i2c_error; > > > + dev_info(pchip->dev, "lp8755 : chip ID is 0x%x\n", regval); > > This

Re: [RFC PATCH] staging, android, ashmem: invalidate pin/unpin ioctl for private map

2012-12-02 Thread Dan Carpenter
On Mon, Dec 03, 2012 at 09:09:59AM +0900, JoonSoo Kim wrote: > Hello, Dan. > > 2012/12/2 Dan Carpenter : > > On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote: > >> @@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area > >> *asma, unsigned long cmd, > >> pgstart = p

[PATCH] merge_config.sh: Add option to specify output dir

2012-12-02 Thread Zhangfei Gao
Provide a -O option to specify dir to put generated .config Then merge_config.sh does not need to be copied to target dir, for easy re-usage in other script Signed-off-by: Zhangfei Gao Tested-by: Jon Medhurst (Tixy) --- scripts/kconfig/merge_config.sh | 20 1 file changed

Re: [PATCH v3 0/4] Cypress PS/2 Trackpad driver

2012-12-02 Thread Dmitry Torokhov
Hi Kamal, On Thu, Nov 29, 2012 at 01:57:57PM -0800, Kamal Mostafa wrote: > This driver, submitted on behalf of Cypress Semiconductor Corporation and > additional contributors, provides support for the Cypress PS/2 Trackpad. > > This [PATCH v3] version differs from my previous submitted version[1]

[PATCH] stable: uio: Fix warning: 'ret' might be used uninitialized

2012-12-02 Thread Hans J. Koch
In two cases, the return value variable "ret" can be undefined. Signed-off-by: Hans J. Koch Reported-by: Vitalii Demianets --- drivers/uio/uio.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index 5110f36..0c80df2 100644 --- a/d

Re: [PATCH v2 0/1] Input: xpad - Implement wireless controller LED setting and fix connect time LED setting

2012-12-02 Thread Dmitry Torokhov
On Fri, Nov 30, 2012 at 08:13:29PM -0800, Chris Moeller wrote: > On Fri, 30 Nov 2012 14:30:23 -0800 > Dmitry Torokhov wrote: > > > Hi Chris, > > > > On Friday, November 30, 2012 01:54:06 PM Chris Moeller wrote: > > > I've submitted versions of this with prior patch sets, and this part > > > was

Re: [PATCH v3 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-02 Thread Henrik Rydberg
Hi Kamal, > From: Cypress Semiconductor Corporation > > Input/mouse driver for Cypress PS/2 Trackpad. > > Original code contributed by Cypress Semiconductor Corporation, > modified by Kamal Mostafa and Kyle Fazzari. > > BugLink: http://launchpad.net/bugs/978807 > > Signed-off-by: Kamal Mostaf

Re: [PATCH v3 0/4] Cypress PS/2 Trackpad driver

2012-12-02 Thread Henrik Rydberg
Hi Kamal, > Patch #2 (main driver), as recommended by Henrik Rydberg[2]: > - use input_mt_assign_slots; drop cypress_cal_finger_id. > - enable 2-finger-only SEMI_MT; drop cypress_simulate_fingers. > - various code clean-ups. > > Henrik, does patch #2 appear to properly use assign_slots

Re: [PATCH] uio.c: Fix warning: 'ret' might be used uninitialized

2012-12-02 Thread Hans J. Koch
On Sat, Dec 01, 2012 at 09:58:32AM +, Cong Ding wrote: > If it is really necessary to save the 4 lines of codes, I would suggest to do > in the following style. But you are more senior than me, so I may be wrong in > this aspect. "Seniority" (whatever you mean by that) has got nothing to do

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

2012-12-02 Thread Minchan Kim
On Sun, Dec 02, 2012 at 11:20:42PM -0800, Nitin Gupta wrote: > > > On Nov 30, 2012, at 5:54 AM, Minchan Kim wrote: > > > 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 > >> t

[patch v4] x86, UV: integer wrap bug in uv_hub_ipi_value()

2012-12-02 Thread Dan Carpenter
This is a static checker fix. The problem is that we store the bits from "uv_apicid_hibits" into "apicid" (the high 16 bits) but then we shift it 16 bit to the left. "apicid" is an int so it wraps and we lose them. I have also simplified uv_wakeup_secondary() a little based on a suggestion from

<    1   2   3