Most importantly this should cure the ipv4-mapped ipv6 socket TCP
crashes some people were seeing, otherwise:
1) Fix e1000e autonegotiation handling regression, from Tushar
Dave.
2) Fix TX data corruption race on e1000e down, also from Tushar
Dave.
3) Fix bfin_sir IRDA driver build, from
Hi Geert,
On 13/08/12 00:47, Geert Uytterhoeven wrote:
Hi Fengguang,
On Sun, Aug 12, 2012 at 4:23 PM, Fengguang Wu fengguang...@intel.com wrote:
This fixes build errors like:
fs/namespace.c:2290:1: error: unknown type name 'atomic64_t'
fs/namespace.c:2290:1: error: implicit declaration of
OK clearly I screwed it up thanks for reviewing Al. How about this.
fdt = files_fdtable(files);
for (fd = 0; fd fdt-max_fds; fd++) {
struct socket *sock;
int err = 0;
sock =
Remove unnecessary code form send_to_sock routine.
Signed-off-by: Ying Xue ying@windriver.com
---
fs/dlm/lowcomms.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 5c1b0e3..f8eefe2 100644
--- a/fs/dlm/lowcomms.c
+++
On Mon, Aug 13, 2012 at 10:06:26AM +0800, wei_w...@realsil.com.cn wrote:
+int rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val)
+{
+ int err, i, finished = 0;
+ u16 data = 0;
+ u8 *ptr, tmp;
+
+ rtsx_pci_init_cmd(pcr);
+
+ rtsx_pci_add_cmd(pcr,
Hi Linus,
Please consider the following changes since commit
0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:
Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds.git
fixes-for-3.6
for you to fetch
Fengguang Wu fengguang...@intel.com writes:
Hi Geert,
This is the build error I get, on Eric's userns tree.
tree:
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git
userns-always-map-user-v45
head: 38a0b1b84f5f613ff4e01fffda27f87d4cb2b649
commit:
Dear Chen,
thanks for your patch.
Firstly, is Chen your first or last name? If it is your first name, your
From address should be switched.
Am Montag, den 13.08.2012, 10:09 +0800 schrieb Huacai Chen:
When SWIOTLB is configured, if without this patch kernel compilation
fails.
Secondly, could
Stefan Richter wrote:
On Aug 12 Clemens Ladisch wrote:
Send the GUIDs of newly registered controllers and devices
to the /dev/random driver to help seed its pools.
This looks good to me, almost. Isn't the call in fw_card_add redundant?
The local node's fw_device instance initializer feeds
于 2012年08月13日 14:40, Dan Carpenter 写道:
Looks like bitwise OR was intended here.
Hi Dan:
Thank you. I will resend the patches.
BR,
wwang
--
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
On Mon, Aug 13, 2012 at 03:10:50PM +0800, wwang wrote:
于 2012年08月13日 14:40, Dan Carpenter 写道:
Looks like bitwise OR was intended here.
Hi Dan:
Thank you. I will resend the patches.
It's always best to hold off a day on resending, in case there are
other comments.
regards,
dan carpenter
On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel
paulepan...@users.sourceforge.net wrote:
Dear Chen,
thanks for your patch.
Firstly, is Chen your first or last name? If it is your first name, your
From address should be switched.
Chen is may last name.
Am Montag, den 13.08.2012, 10:09 +0800
On 08/13/2012 03:50 AM, Rusty Russell wrote:
On Tue, 7 Aug 2012 21:47:37 +0200, Jiri Slaby jsl...@suse.cz wrote:
For many cards, this saves some IO space because interrupt status port
has precedence over the rest of ports on the card. Hence it can be
mapped to a hole in I/O ports.
Here we
Hi Guenter,
Thank you for the guidance.
But looking at the hwmon linux documentation, seems the sensor
kernel drivers should report only raw readings.
The raw readings can be converted into required output,
e.g. temperature in this case, by respective user space implementation.
raw means
Hi Tejun,
On Sat, Aug 11, 2012 at 01:01:33PM -0700, Tejun Heo wrote:
Shouldn't this happen before init_memory_mapping() is called multiple
times?
It does.
Those CR4 flags are set before the loop which calls init_memory_mapping().
Also, there seem to be other stuff which need to be moved
Dear Huacai,
Am Montag, den 13.08.2012, 15:16 +0800 schrieb Huacai Chen:
On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel wrote:
thanks for your patch.
Firstly, is Chen your first or last name? If it is your first name, your
From address should be switched.
Chen is may last name.
I am
On Fri, 2012-08-10 at 21:54 +0530, Srikar Dronamraju wrote:
This change worked well on the 2 node machine
but on the 8 node machine it hangs with repeated messages
Pid: 60935, comm: numa01 Tainted: GW3.5.0-numasched_v2_020812+ #4
Call Trace:
IRQ [810d32e2] ?
At Sat, 11 Aug 2012 17:32:19 +0800,
Huacai Chen wrote:
Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec,
this patch modify patch_conexant.c to add Lemote specific code.
Signed-off-by: Jie Chen ch...@lemote.com
Signed-off-by: Huacai Chen che...@lemote.com
Signed-off-by:
On Thu, 2012-08-09 at 23:43 -0400, Steven Rostedt wrote:
plain text document attachment
(0004-perf-events-Use-helper-functions-in-event-assignment.patch)
From: Steven Rostedt srost...@redhat.com
The functions that assign the contents for the perf software events are
defined by the
On 08/10/2012 09:51 PM, Kamezawa Hiroyuki wrote:
+/*
+ * Once enabled, can't be disabled. We could in theory disable
+ * it if we haven't yet created any caches, or if we can shrink
+ * them all to death. But it is not worth the trouble
+
On Mon, Aug 13, 2012 at 3:50 PM, Paul Menzel
paulepan...@users.sourceforge.net wrote:
Dear Huacai,
Am Montag, den 13.08.2012, 15:16 +0800 schrieb Huacai Chen:
On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel wrote:
thanks for your patch.
Firstly, is Chen your first or last name? If it is
On 08/10/2012 09:36 PM, Greg Thelen wrote:
On Thu, Aug 09 2012, Glauber Costa wrote:
When a process tries to allocate a page with the __GFP_KMEMCG flag, the
page allocator will call the corresponding memcg functions to validate
the allocation. Tasks in the root memcg can always proceed.
To
On 08/10/2012 09:33 PM, Kamezawa Hiroyuki wrote:
(2012/08/09 22:01), Glauber Costa wrote:
When a process tries to allocate a page with the __GFP_KMEMCG flag, the
page allocator will call the corresponding memcg functions to validate
the allocation. Tasks in the root memcg can always proceed.
On 08/10/2012 10:54 PM, Michal Hocko wrote:
On Thu 09-08-12 17:01:10, Glauber Costa wrote:
From: Suleiman Souhlal ssouh...@freebsd.org
mem_cgroup_do_charge() was written before kmem accounting, and expects
three cases: being called for 1 page, being called for a stock of 32
pages, or being
On 08/11/2012 09:11 AM, Greg Thelen wrote:
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
On Mon, 2012-08-13 at 09:51 +0200, Peter Zijlstra wrote:
On Fri, 2012-08-10 at 21:54 +0530, Srikar Dronamraju wrote:
This change worked well on the 2 node machine
but on the 8 node machine it hangs with repeated messages
Pid: 60935, comm: numa01 Tainted: GW
On Fri, Jul 20, 2012 at 07:22:48PM +0530, Ramakrishna Pallala wrote:
This patch checks for charger status register for determining the
battery charging status and reports Discharing/Charging/Not Charging/Full
accordingly.
This patch also adds the interrupt support for Safety Timer
On Thu, 2012-08-09 at 12:57 -0400, Nicolas Pitre wrote:
In other words, I think this should look like this:
diff --git a/include/asm-generic/mutex-xchg.h
b/include/asm-generic/mutex-xchg.h
index 580a6d35c7..44a66c99c8 100644
--- a/include/asm-generic/mutex-xchg.h
+++
444 means 0674 and we do not definitely want that. Use S_IRUGO which
is much more safer.
Signed-off-by: Jiri Slaby jsl...@suse.cz
Reported-by: Rusty Russell ru...@ozlabs.org
---
drivers/tty/mxser.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/mxser.c
444 means 0674 and we do not definitely want that. Use S_IRUGO which
is much more safer.
Signed-off-by: Jiri Slaby jsl...@suse.cz
Reported-by: Rusty Russell ru...@ozlabs.org
---
Sorry for multiple copies (if any).
drivers/tty/mxser.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Tue, 2012-08-07 at 00:25 -0700, Michel Lespinasse wrote:
a faster worst-case complexity of O(k+log N) for stabbing queries in a
well-balanced prio tree, vs O(k*log N) for interval trees (where k=number
of matches, N=number of intervals). Now this sounds great, but in practice
prio trees
OK, I will improve the code.
On Mon, Aug 13, 2012 at 4:00 PM, Takashi Iwai ti...@suse.de wrote:
At Sat, 11 Aug 2012 17:32:19 +0800,
Huacai Chen wrote:
Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec,
this patch modify patch_conexant.c to add Lemote specific code.
On Fri, Aug 10, 2012 at 02:55:14PM -0300, Rafael Aquini wrote:
Memory fragmentation introduced by ballooning might reduce significantly
the number of 2MB contiguous memory blocks that can be used within a guest,
thus imposing performance penalties associated with the reduced number of
+ * Needs to be called after memcg_kmem_new_page, regardless of success or
+ * failure of the allocation. if @page is NULL, this function will revert
the
+ * charges. Otherwise, it will commit the memcg given by @handle to the
+ * corresponding page_cgroup.
+ */
+static
On 08/10/2012 09:02 PM, Kamezawa Hiroyuki wrote:
(2012/08/09 22:01), Glauber Costa wrote:
This patch adds the basic infrastructure for the accounting of the slab
caches. To control that, the following files are created:
* memory.kmem.usage_in_bytes
* memory.kmem.limit_in_bytes
*
On Fri, Aug 10, 2012 at 02:55:15PM -0300, Rafael Aquini wrote:
Memory fragmentation introduced by ballooning might reduce significantly
the number of 2MB contiguous memory blocks that can be used within a guest,
thus imposing performance penalties associated with the reduced number of
* H. Peter Anvin h...@zytor.com wrote:
On 08/07/2012 12:38 PM, Steven Rostedt wrote:
This is an RFC patch set that makes gcc use the -mfentry option with
-pg. This will set the ftrace 'hook' to the beginning of the function
and also remove the requirement that -pg enables frame pointers.
On Mon, Aug 13, 2012 at 12:03:38PM +0400, Glauber Costa wrote:
On 08/10/2012 09:33 PM, Kamezawa Hiroyuki wrote:
(2012/08/09 22:01), Glauber Costa wrote:
When a process tries to allocate a page with the __GFP_KMEMCG flag, the
page allocator will call the corresponding memcg functions to
From: liu chuansheng chuansheng@intel.com
Subject: [PATCH] x86_dump_trace: avoiding endless IRQ is printed
Found the case that endless IRQ printing in dump_trace,
and no real meaningful stack traces are output, so there should
one rare case that possibly context-previous_esp = context or
On Fri, 3 Aug 2012, Yann Cantin wrote:
+#include linux/hid.h
As this driver is not a HID bus driver, why do you need this include?
Cinder, removed
+#define DRIVER_VERSIONv0.7
I don't think we need to be tracking driver versions for newly submitted
drivers, git is much
On Sun, 2012-08-12 at 22:55 -0700, John Fastabend wrote:
On 8/12/2012 6:53 PM, Al Viro wrote:
Ladies and gentlemen, who the devil had reviewed that little gem?
commit 406a3c638ce8b17d9704052c07955490f732c2b8
Author: John Fastabend john.r.fastab...@intel.com
Date: Fri Jul 20
Hi all,
I'm using mainline upstream 3.6.0-rc1 compiled based on Fedora-16.
When I unplug my mobile usb card, I hit this:
[ 247.017258] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 247.017378] IP: [a03bf27f] stop_read_write_urbs+0x3f/0x90
[usb_wwan]
[
Am Montag, den 13.08.2012, 16:04 +0800 schrieb Huacai Chen:
On Mon, Aug 13, 2012 at 3:50 PM, Paul Menzel wrote:
Am Montag, den 13.08.2012, 15:16 +0800 schrieb Huacai Chen:
On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel wrote:
[…]
Am Montag, den 13.08.2012, 10:09 +0800 schrieb Huacai Chen:
Hi Peter,
On Mon, Aug 13, 2012 at 09:15:04AM +0100, Peter Zijlstra wrote:
On Thu, 2012-08-09 at 12:57 -0400, Nicolas Pitre wrote:
In other words, I think this should look like this:
diff --git a/include/asm-generic/mutex-xchg.h
b/include/asm-generic/mutex-xchg.h
index
July saw the release of Linux 3.5, which included an average sized XFS
update:
81 files changed, 2633 insertions(+), 3004 deletions(-)
Noteworthy updates in Linux 3.5 include the removal of the xfsbufd
background thread which writes metadata buffers, background processing
of CIL flushes and
It's a laptop compaq 2510p (~5 years old core2 laptop) with a
single SATA drive:
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE
Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 30c9
Kernel driver in use: ata_piix
kernel v3.5 worked fine.
* Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote:
static int process_sample_event(struct perf_tool *tool __used,
union perf_event *event,
struct perf_sample *sample,
struct perf_evsel *evsel,
From: Lad, Prabhakar prabhakar@ti.com
Signed-off-by: Lad, Prabhakar prabhakar@ti.com
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
drivers/media/video/davinci/dm355_ccdc.c |2 +-
drivers/media/video/davinci/dm644x_ccdc.c |2 +-
drivers/media/video/davinci/isif.c
From 5c60eb8be04c7440d6e33b8f72ea2046a3657ac4 Mon Sep 17 00:00:00 2001
From: ian.cy.chen ian.cy.c...@samsung.com
Date: Mon, 13 Aug 2012 10:53:55 +0900
Subject: [PATCH] mmc: card: Skip secure option for MoviNAND.
For several MoviNAND, there are some known issue with secure option.
For these
Liu Bo liub.li...@gmail.com writes:
I'm using mainline upstream 3.6.0-rc1 compiled based on Fedora-16.
When I unplug my mobile usb card, I hit this:
[ 247.017258] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 247.017378] IP: [a03bf27f]
Here's the dmesg splat.
Do you always get this report in the same way?
I managed to get a softirq inconsistency like yours, but the complaint
goes for a different lock.
[ 335.550398] =
[ 335.554739] [ INFO: inconsistent lock state ]
[ 335.559091]
Add I2C data node in omap5 device tree file.
Tested on omap5430 evm.
Cc: Benoit Cousson b-cous...@ti.com
Cc: Felipe Balbi ba...@ti.com
Cc: Santosh Shilimkar santosh.shilim...@ti.com
Acked-by: Felipe Balbi ba...@ti.com
Signed-off-by: Sourav Poddar sourav.pod...@ti.com
---
The following patch series add i2c support for omap5.
As well as enable I2C based devices like pressure and temperature
through device tree. Also add onchip keypad dts data.
Cc: Benoit Cousson b-cous...@ti.com
Cc: Felipe Balbi ba...@ti.com
Cc: Santosh Shilimkar santosh.shilim...@ti.com
Sourav
Add tmp102 temperature sensor data in omap5 evm dts file.
Tested on omap5430 evm with 3.5 custom kernel.
Cc: Benoit Cousson b-cous...@ti.com
Cc: Felipe Balbi ba...@ti.com
Cc: Santosh Shilimkar santosh.shilim...@ti.com
Acked-by: Felipe Balbi ba...@ti.com
Signed-off-by: Sourav Poddar
Add bmp085 pressure sensor data in omap5 evm dts file.
Tested on omap5430 evm with 3.5 custom kernel.
Cc: Benoit Cousson b-cous...@ti.com
Cc: Felipe Balbi ba...@ti.com
Cc: Santosh Shilimkar santosh.shilim...@ti.com
Acked-by: Felipe Balbi ba...@ti.com
Signed-off-by: Sourav Poddar
Add keypad data node in omap5 device tree file.
Also fill the device tree binding parameters
with the required value in omap5-evm dts file.
Tested on omap5430 evm with 3.5 custom kernel.
Cc: Benoit Cousson b-cous...@ti.com
Cc: Felipe Balbi ba...@ti.com
Cc: Santosh Shilimkar
On 08/11/12 08:09, Andi Kleen wrote:
Naoya Horiguchi n-horigu...@ah.jp.nec.com writes:
Current memory error handling on dirty pagecache has a bug that user
processes who use corrupted pages via read() or write() can't be aware
of the memory error and result in discarding dirty data silently.
On Wed, 2012-08-08 at 10:18 -0300, Fabio Estevam wrote:
On Wed, Aug 8, 2012 at 10:05 AM, Dirk Behme dirk.be...@de.bosch.com wrote:
Yes. But it seems it's not handled there? I'm trying since ~2 weeks to get
something like your patch applied to get the broken mainline fixed, but
Alex, Maciej, please test the following to see if it fixes the issue
[1], thanks.
BR,
Jani.
[1] https://bugzilla.kernel.org/show_bug.cgi?id=45881
Jani Nikula (2):
drm/i915: extract connector update from intel_ddc_get_modes() for
reuse
drm/i915: fall back to bit-banging if GMBUS fails
Refactor the connector update part of intel_ddc_get_modes() into a separate
intel_connector_update_modes() function for reuse. No functional changes.
Signed-off-by: Jani Nikula jani.nik...@intel.com
---
drivers/gpu/drm/i915/intel_drv.h |2 ++
drivers/gpu/drm/i915/intel_modes.c | 31
GMBUS was enabled over bit-banging as the default in commits:
commit c3dfefa0a6d235bd465309e12f4c56ea16e7
Author: Daniel Vetter daniel.vet...@ffwll.ch
Date: Tue Feb 14 22:37:25 2012 +0100
drm/i915: reenable gmbus on gen3+ again
and
commit 0fb3f969c8683505fb7323c06bf8a999a5a45a15
On 08/13/2012 06:01 PM, Bjørn Mork wrote:
Liu Bo liub.li...@gmail.com writes:
I'm using mainline upstream 3.6.0-rc1 compiled based on Fedora-16.
When I unplug my mobile usb card, I hit this:
[ 247.017258] BUG: unable to handle kernel NULL pointer dereference at
(null)
[
On Wed, Aug 08, 2012 at 03:50:46PM -0700, David Miller wrote:
From: Mel Gorman mgor...@suse.de
Date: Tue, 7 Aug 2012 09:55:55 +0100
Commit [c48a11c7: netvm: propagate page-pfmemalloc to skb] is responsible
for the following bug triggered by a xen network driver
...
The problem is that
Add bmp085 pressure sensor data in omap5 evm dts file.
Tested on omap5430 evm with 3.5 custom kernel.
Cc: Benoit Cousson b-cous...@ti.com
Cc: Felipe Balbi ba...@ti.com
Cc: Santosh Shilimkar santosh.shilim...@ti.com
Acked-by: Felipe Balbi ba...@ti.com
Signed-off-by: Sourav Poddar
Add keypad data node in omap5 device tree file.
Also fill the device tree binding parameters
with the required value in omap5-evm dts file.
Tested on omap5430 evm with 3.5 custom kernel.
Cc: Benoit Cousson b-cous...@ti.com
Cc: Felipe Balbi ba...@ti.com
Cc: Santosh Shilimkar
OK,.. so the AMD IBS PMUs actually have perf_invalid_context.
Lemme have a proper look...
Weirdness.. perf_pmu_register() will allocate a pmu-pmu_cpu_context for
each PMU. find_pmu_context() even special cases the perf_invalid_context
to return NULL to force the allocation instead of sharing
Since we embeded block device name into struct block_device, we don't
need call a function bdevname() to get the name any more.
Here this patch replace all the code using bdevname() in vfs layer to
bdev-bd_name.
This patch servers as an example of using embeded block device name.
It makes the
Embed block device name in struct block_device, thus we can replace
the following code:
char b[BDEVNAME_SIZE];
printk(KERN_XXX ...%s..\n, bdevname(bdev, b);
with a much simpler and less stack usage version:
printk(KERN_XXX ...%s..\n, bdev-bd_name);
This is a RFC version,
12.08.2012 13:48, Manfred Spraul пишет:
I would keep it simple - unless there is a clear use case where peek
by id is useful.
Or - since MSG_COPY is linux specific anyway:
What about storing the number of the message that should be returned in *msgp?
Store it as int64, just to avoid any 32/64
On Mon, Aug 13, 2012 at 1:20 AM, Peter Zijlstra pet...@infradead.org wrote:
On Tue, 2012-08-07 at 00:25 -0700, Michel Lespinasse wrote:
a faster worst-case complexity of O(k+log N) for stabbing queries in a
well-balanced prio tree, vs O(k*log N) for interval trees (where k=number
of matches,
We validate irq pin number when routing is setup, so
code handling illegal irq # in pic and ioapic on each injection
is never called.
Drop it.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
Reposting, applies without changes to kvm/next.
arch/x86/kvm/i8259.c | 16 +++-
Resending to correct Jeremy's address.
On Wed, Aug 08, 2012 at 03:50:46PM -0700, David Miller wrote:
From: Mel Gorman mgor...@suse.de
Date: Tue, 7 Aug 2012 09:55:55 +0100
Commit [c48a11c7: netvm: propagate page-pfmemalloc to skb] is responsible
for the following bug triggered by a xen
On Fri, Aug 10, 2012 at 11:03:58AM +, Arnd Bergmann wrote:
On Thursday 09 August 2012, Russell King - ARM Linux wrote:
On Wed, Aug 08, 2012 at 11:27:57PM +0200, Arnd Bergmann wrote:
ARMv3 support was removed in 357c9c1f07 ARM: Remove support for ARMv3
ARM610 and ARM710 CPUs, which
khugepaged_mutex is used very complexly and there are too many small pieces
of the code depend on CONFIG_NUMA, they make the code very hardly understand
This patchset try to optimize use of khugepaged_mutex and reduce dependence
of CONFIG_NUMA, after the patchset, the code is more readable
--
To
THP_COLLAPSE_ALLOC is double counted if NUMA is disabled since it has
already been calculated in khugepaged_alloc_hugepage
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
The check is unnecessary since if mm_slot_cache or mm_slots_hash initialize
failed, no sysfs interface will be created
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c |7 ++-
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git
Currently, hugepaged_mutex is used really complexly and hard to understand,
actually, it is just used to serialize start_khugepaged and khugepaged for
these reasons:
- khugepaged_thread is shared between them
- the thp disable path (echo never transparent_hugepage/enabled) is
nonblocking, so we
Now, khugepaged creation and cancel are completely serial under the
protection of khugepaged_mutex, it is impossible that many khugepaged
entities are running
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c |5 +
1 files changed, 1 insertions(+), 4
Add the check of kthread_should_stop() to the conditions which are used
to wakeup on khugepaged_wait, then kthread_stop is enough to let the
thread exit
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c | 35 +--
1 files
If NUMA is disabled, hpage is used as page pre-alloc, so there are
two cases for hpage:
- it is !NULL, means the page is not consumed otherwise,
- the page has been consumed
If NUMA is enabled, hpage is just used as alloc-fail indicator which
is not a real page, NULL means not fail triggered.
There are two pre-alloc operations in these two function, the different is:
- it allows to sleep if page alloc fail in khugepaged_loop
- it exits immediately if page alloc fail in khugepaged_do_scan
Actually, in khugepaged_do_scan, we can allow the pre-alloc to sleep on the
first failure, then
If NUMA is enabled, we can release the page in the page pre-alloc operation,
then the CONFIG_NUMA dependent code can be reduced
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c | 19 +++
1 files changed, 7 insertions(+), 12 deletions(-)
diff
They are used to abstract the difference between NUMA enabled and NUMA disabled
to make the code more readable
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c | 166 --
1 files changed, 98 insertions(+), 68
Merge khugepaged_loop into khugepaged
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c | 14 --
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index 82f6cce..6ddf671 100644
---
Use khugepaged_enabled to see whether thp is enabled
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c | 11 ++-
1 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index 6ddf671..6becf6c 100644
---
Since it is called in start_khugepaged
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
mm/huge_memory.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index 6becf6c..6533956 100644
--- a/mm/huge_memory.c
+++
On Mon, Aug 13, 2012 at 07:13:16PM +0800, Xiao Guangrong wrote:
THP_COLLAPSE_ALLOC is double counted if NUMA is disabled since it has
already been calculated in khugepaged_alloc_hugepage
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
Acked-by: Kirill A. Shutemov
Hi Linus,
please pull from the 'for-linus' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus
to receive some s390 patches on top of 3.6-rc1.
Included are bug fixes and a patch to enable system call filtering with BPF.
Heiko Carstens (4):
s390/mm:
On Sun, Aug 12, 2012 at 10:55:17PM -0700, John Fastabend wrote:
On 8/12/2012 6:53 PM, Al Viro wrote:
Ladies and gentlemen, who the devil had reviewed that little gem?
commit 406a3c638ce8b17d9704052c07955490f732c2b8
Author: John Fastabend john.r.fastab...@intel.com
Date: Fri Jul 20
From: Dongjin Kim dongjin@agreeyamobility.net
This patch adds the clock controls for the audio subsystem channel 0,
and fixes invalid clock gating for i2s.0.
Signed-off-by: Dongjin Kim dongjin@agreeyamobility.net
---
arch/arm/mach-exynos/clock-exynos4.c | 254
When child reaper exits, it can destroy mount namespace it belong to, and if
there are NFS mounts inside, then it will try to umount them. But in this
point current-nsproxy is set to NULL and all namespaces will be destroyed one
by one. I.e. we can't dereference current-nsproxy to obtain uts
On Mon, 13 Aug 2012 15:21:56 +0400
Stanislav Kinsbursky skinsbur...@parallels.com wrote:
When child reaper exits, it can destroy mount namespace it belong to, and if
there are NFS mounts inside, then it will try to umount them. But in this
point current-nsproxy is set to NULL and all
On Tue, 2012-08-07 at 18:12 +0200, Sebastian Andrzej Siewior wrote:
By setting an uprobe tracepoint, one learns whenever a certain point
within a program is reached / passed. This is recorded and the
application continues.
This patch adds the ability to hold the program once this point has
Thanks, Jeff. Will fix.
13.08.2012 15:35, Jeff Layton пишет:
On Mon, 13 Aug 2012 15:21:56 +0400
Stanislav Kinsbursky skinsbur...@parallels.com wrote:
When child reaper exits, it can destroy mount namespace it belong to, and if
there are NFS mounts inside, then it will try to umount them. But
v2:
1) rpc_clnt_set_nodename() prototype updated.
2) fixed errors in comment.
When child reaper exits, it can destroy mount namespace it belongs to, and if
there are NFS mounts inside, then it will try to umount them. But in this
point current-nsproxy is set to NULL and all namespaces will be
Sourav,
On Mon, Aug 13, 2012 at 3:35 PM, Sourav Poddar sourav.pod...@ti.com wrote:
The following patch series add i2c support for omap5.
As well as enable I2C based devices like pressure and temperature
through device tree. Also add onchip keypad dts data.
Cc: Benoit Cousson
On Thu, Aug 09, 2012 at 04:22:04PM +0100, Jan Beulich wrote:
On 09.08.12 at 17:03, Kirill A. Shutemov
kirill.shute...@linux.intel.com wrote:
...
---
arch/x86/include/asm/page.h |2 ++
arch/x86/include/asm/string_32.h |5 +
arch/x86/include/asm/string_64.h
On Thu, Aug 09, 2012 at 05:46:38PM -0700, Casey Schaufler wrote:
On 12/20/2011 11:20 PM, Jarkko Sakkinen wrote:
Allow SIGCHLD to be passed to child process without
explicit policy. This will help to keep the access
control policy simple and easily maintainable with
complex applications
On Wed, Aug 08, 2012 at 10:08:20PM +0200, Peter Zijlstra wrote:
On Wed, 2012-08-08 at 21:50 +0200, Mike Galbraith wrote:
32bit built do_div()
and div64_u64() both sucked equally compared to 64bit
/me peeks at div64_u64 fallback implementation and sees why, it still
does a single div, it
Correct spelling typo in drivers/mfd
Signed-off-by: Masanari Iida standby2...@gmail.com
---
drivers/mfd/ab8500-gpadc.c| 2 +-
drivers/mfd/rc5t583.c | 2 +-
drivers/mfd/rdc321x-southbridge.c | 2 +-
drivers/mfd/tps65911-comparator.c | 2 +-
include/linux/mfd/max8998.h |
1 - 100 of 1532 matches
Mail list logo