On Sun, Mar 17, 2013 at 02:29:55PM -0400, David Miller wrote:
From: Michael S. Tsirkin m...@redhat.com
Date: Sun, 17 Mar 2013 14:46:09 +0200
ubuf info allocator uses guest controlled head as an index,
so a malicious guest could put the same head entry in the ring twice,
and we will get
* Oleg Nesterov o...@redhat.com [2013-03-18 19:43:17]:
Cleanup. Now that we have f_inode/file_inode() we can use it instead
of -f_mapping-host.
This should not make any difference for uprobes, but in theory this
change is more correct. We use this inode as a key, to compare it
with
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
From: Eric W. Biederman ebied...@xmission.com
Subject: Re: [PATCH v3 01/21] vmcore: reference e_phoff member explicitly to
get position of program header table
Date: Tue, 19 Mar 2013 14:44:16 -0700
HATAYAMA Daisuke
From: Eric W. Biederman ebied...@xmission.com
Subject: Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s
page-size boundary requirement
Date: Wed, 20 Mar 2013 21:18:37 -0700
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
From: Eric W. Biederman ebied...@xmission.com
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
From: Andrew Morton a...@linux-foundation.org
Subject: Re: [PATCH v3 00/21] kdump, vmcore: support mmap() on /proc/vmcore
Date: Tue, 19 Mar 2013 12:30:05 -0700
On Sat, 16 Mar 2013 13:00:47 +0900 HATAYAMA Daisuke
d.hatay...@jp.fujitsu.com
core/umem.c seems to get the arguments to get_user_pages
in the reverse order: it sets writeable flag and
breaks COW for MAP_SHARED if and only if hardware needs to
write the page.
This breaks memory overcommit for users such as KVM:
each time we try to register a page to send it to remote, this
Hi all,
After merging the final tree, today's linux-next build (powerpc64
allnoconfig) failed like this:
In file included from arch/powerpc/include/asm/kvm_ppc.h:33:0,
from arch/powerpc/kernel/setup_64.c:67:
arch/powerpc/include/asm/kvm_book3s.h:65:20: error: field 'pte' has
Hi,
On Thursday 21 March 2013 02:29 AM, Stephen Warren wrote:
On 03/20/2013 03:12 AM, Kishon Vijay Abraham I wrote:
Updated the usb_otg_hs dt data to include the *phy* and *phy-names*
binding in order for the driver to use the new generic PHY framework.
Also updated the Documentation to
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
Do you mean for each range represented by each PT_LOAD entry, say:
[p_paddr, p_paddr + p_memsz]
extend it as:
[rounddown(p_paddr, PAGE_SIZE), roundup(p_paddr + p_memsz, PAGE_SIZE)].
not only objects in vmcore_list, but also updating
At Wed, 20 Mar 2013 23:52:31 +0100,
Borislav Petkov wrote:
Hi Andrew,
On Thu, Feb 28, 2013 at 04:39:53PM -0500, Joern Engel wrote:
Blockconsole is a console driver very roughly similar to netconsole.
Instead of sending messages out via UDP, they are written to a block
device.
From: Eric W. Biederman ebied...@xmission.com
Subject: Re: [PATCH v3 00/21] kdump, vmcore: support mmap() on /proc/vmcore
Date: Wed, 20 Mar 2013 23:16:20 -0700
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
From: Andrew Morton a...@linux-foundation.org
Subject: Re: [PATCH v3 00/21]
Hi,
On Wed, Mar 20, 2013 at 10:26 PM, Alan Stern st...@rowland.harvard.edu wrote:
On Wed, 20 Mar 2013, Yuan-Hsin Chen wrote:
Hi,
On Tue, Mar 19, 2013 at 11:48 PM, Alan Stern st...@rowland.harvard.edu
wrote:
On Tue, 19 Mar 2013, Yuan-Hsin Chen wrote:
What about the port_status
Hi all,
Changes since 20130320:
New tree: gen-gpio
Removed tree: pekey (Linus will not merge this as is)
Linus' tree gained a build failure for which I reverted a commit.
The v4l-dvb tree gained a conflict against the s390 tree.
The sound-asoc tree gained 2 build failures do I used the
Use proper macro while extracting TRB transfer length from
Transfer event TRBs. Adding a macro EVENT_TRB_LEN (bits 0:23)
for the same, and use it instead of TRB_LEN (bits 0:16) in
case of event TRBs.
Signed-off-by: Vivek gautam gautam.vi...@samsung.com
---
Hi Sarah,
Updated the patch as
From: Eric W. Biederman ebied...@xmission.com
Subject: Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s
page-size boundary requirement
Date: Wed, 20 Mar 2013 23:29:05 -0700
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
Do you mean for each range represented by each
Hi,
We do cross compile builds for ARC Linux. To avoid the env var set, we have a
defconfig entry for CONFIG_CROSS_COMPILE.
This worked fine so far (host gcc 4.4 i.e.). When switched to a new host distro
(gcc 4.7), a defconfig build spews out the warning.
On Mon, Mar 04, 2013 at 02:36:27PM +0530, Sachin Kamat wrote:
Use the newly introduced devm_ioremap_resource() instead of
devm_request_and_ioremap() which provides more consistent error handling.
Signed-off-by: Sachin Kamat sachin.ka...@linaro.org
Reviewed-by: Thierry Reding
On Wed, Mar 20, 2013 at 11:18 PM, Michael S. Tsirkin m...@redhat.com wrote:
core/umem.c seems to get the arguments to get_user_pages
in the reverse order: it sets writeable flag and
breaks COW for MAP_SHARED if and only if hardware needs to
write the page.
This breaks memory overcommit for
On Wed, Mar 20, 2013 at 11:55:54PM -0700, Roland Dreier wrote:
On Wed, Mar 20, 2013 at 11:18 PM, Michael S. Tsirkin m...@redhat.com wrote:
core/umem.c seems to get the arguments to get_user_pages
in the reverse order: it sets writeable flag and
breaks COW for MAP_SHARED if and only if
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
From: Eric W. Biederman ebied...@xmission.com
Subject: Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s
page-size boundary requirement
Date: Wed, 20 Mar 2013 23:29:05 -0700
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com
On Sat, Mar 16, 2013 at 02:33:23AM -0700, Raymond Jennings wrote:
Anyway, to the parent poster, could you tell us more, such as how much
ram you had left free?
Following on from my previous post, here is a summary of what I know about
this memory leak following additional testing.
* It was
On Wed, Mar 06, 2013 at 02:56:05PM -0500, Matt Porter wrote:
Add a dmaengine API to retrieve slave SG transfer limits.
The API is optionally implemented by dmaengine drivers and when
unimplemented will return a NULL pointer. A client driver using
this API provides the required dma channel,
On Wed, Mar 06, 2013 at 02:56:04PM -0500, Matt Porter wrote:
Changes since v3:
- Change api name to dma_get_slave_sg_limits() to avoid
confusion with h/w caps which are static.
Changes since v2:
- Change to a separate slave sg specific api. Drop the
generic
This patch adds supports for the virtual irq since now MFD only handles virtual
irq
Without this patch rtc device will fail in registration.
This patch is for Linux stable version 3.8.x
Signed-off-by: Ashish Jangam ashish.jan...@kpitcummins.com
---
drivers/rtc/rtc-da9052.c |8
1
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
The breakage was caused by the introduction of new NT_VMCORE_PAD to
VMCOREINFO name, except for which it worked fine. But it will be
dropped in the next version. It'll be no problem for some time.
The breakage was caused by makedumpfile
I think this change will break the case where userspace tries to
register an MR with read-only permission, but intends locally through
the CPU to write to the memory.
Shouldn't it set LOCAL_WRITE then?
We're talking about the permissions for the register MR operation,
right? (That's what
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
In [ \fB\-f\fP\fI ], the \fI will result in the front half [of
[ -f ] doesn't the back half ]; When you issue the command
man mkfs.btrfs, you will see the difference.
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
man/mkfs.btrfs.8.in | 2 +-
From: Namhyung Kim namhyung@lge.com
So that it can be used by other places.
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
tools/perf/util/trace-event-info.c | 25 ++---
1 file
From: Namhyung Kim namhyung@lge.com
Check return value of malloc() and fail if error. Now read_string()
can return NULL also check its return value and bail out.
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
From: Namhyung Kim namhyung@lge.com
Now remove all remaining die() calls and convert them to check return
value and propagate it.
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
From: Namhyung Kim namhyung@lge.com
Check return value of write and fail if error.
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
tools/perf/util/trace-event-info.c | 180
From: Namhyung Kim namhyung@lge.com
If pevent allocation in read_trace_init() fails, trace_report() will
return -1 and *ppevent is set to NULL. Its callers should check this
case and handle it properly.
This is also a preparation for the removal of *die() calls.
Cc: Steven Rostedt
From: Namhyung Kim namhyung@lge.com
It's for calculating whole trace data size during reading. However
relation functions are called only in this file, no need to
conditionalize it with tricky +1 offset and rename the variable to
more meaningful name like trace_data_size.
Cc: Steven Rostedt
From: Namhyung Kim namhyung@lge.com
Rename it to do_read and original do_read to __do_read, and check
their return value.
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
tools/perf/util/trace-event-read.c
From: Namhyung Kim namhyung@lge.com
Convert them to pr_debug() and propagate error code.
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
tools/perf/util/trace-event-read.c | 44
Hi,
I updated this series with previous feedbacks from Steven, Peter and
Arnaldo. Thanks for all your comments.
* v2 changes
- fix a grammar in an error message
- change some pr_err() - pr_debug()
- use kernel error checking style consistently
Namhyung Kim (9):
perf util: Let
Hello.
According to manufacture chip information from
http://wch-ic.com/product/pci/ch352.asp type of emulated chip cannot be
16C550A (it is default value in linux and in patch
https://lkml.org/lkml/2013/3/2/30 ). Correct value is 16550.
Therefore I need to run additional command
setserial
From: Namhyung Kim namhyung@lge.com
Check return value of malloc and fail if NULL.
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
tools/perf/util/trace-event-info.c | 48
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes:
OK, rigorously, suceess or faliure of the requested free pages
allocation depends on actual memory layout at the 2nd kernel boot. To
increase the possibility of allocating memory, we have no method but
reserve more memory for the 2nd kernel
Dear General Manager:
Trading here, exporting standard solid PCB drills (dia 3.20mm-6.50mm) and
special PCB drills with chip-removal groove and reground chisel edge (dia
1.5mm-6.5mm) with good quality and reasonable price.
Looking forward to hearing from you soon
--
On Thu, Mar 21, 2013 at 4:19 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Wed, 2013-03-20 at 21:38 +, Grant Likely wrote:
NAK. It should at the very least be a CONFIG option for a while
before
completely switching over.
I'll modify patch 1 to create the symlink if
On Wed, Mar 20, 2013 at 06:58:41PM -0500, Scott Wood wrote:
On 03/14/2013 07:13:46 PM, Kevin Hilman wrote:
The new context tracking subsystem unconditionally includes kvm_host.h
headers for the guest enter/exit macros. This causes a compile
failure when KVM is not enabled.
Fix by adding an
On 03/20/2013 12:57 PM, Preeti U Murthy wrote:
Neither core will be able to pull the task from the other to consolidate
the load because the rq-util of t2 and t4, on which no process is
running, continue to show some number even though they degrade with time
and sgs-utils accounts for them.
On Thu, 2013-03-21 at 07:35 +, Grant Likely wrote:
Shouldn't we have the symlink just be a config option itself ?
Eventually distros might want get rid of it completely ..
Why? It is the cheapest thing in the world and it means the ABI
doesn't change at all.
It's also gross and forces
As IOMMU groups are exposed to the user space by their numbers,
the user space can use them in various kernel APIs so the kernel
might need an API to find a group by its ID.
As an example, QEMU VFIO on PPC64 platform needs it to associate
a logical bus number (LIOBN) with a specific IOMMU group
On 20.03.13 at 21:52, H. Peter Anvin h...@zytor.com wrote:
On 03/20/2013 01:42 PM, Shawn Starr wrote:
Hello folks,
I was looking at why I can't load the Intel RNG driver (or why it doesn't
load automatically) and
it just so happens I have both the mobile and non-mobile ICH9 chipset.
On 01/28/2013 05:24 PM, Kirill A. Shutemov wrote:
From: Kirill A. Shutemov kirill.shute...@linux.intel.com
Here's first steps towards huge pages in page cache.
The intend of the work is get code ready to enable transparent huge page
cache for the most simple fs -- ramfs.
It's not yet near
On Wed, Mar 20, 2013 at 18:17:59, Peter Korsgaard wrote:
Sekhar == Sekhar Nori nsek...@ti.com writes:
Sekhar On 3/20/2013 12:11 PM, Philip Avinash wrote:
Add da850 EHRPWM ECAP DT node.
Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP
clock.
Signed-off-by:
This patch improves readability of complicated expressions.
before:
Selected by: A AA AAA || B BB (BBB || ) || C CC CCC
after:
Selected by: A AA AAA
|| B BB (BBB || )
|| C CC CCC
Modules' config options usually comes first in these blocks.
Signed-off-by: Konstantin
On Thu, Mar 21, 2013 at 7:43 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Thu, 2013-03-21 at 07:35 +, Grant Likely wrote:
Shouldn't we have the symlink just be a config option itself ?
Eventually distros might want get rid of it completely ..
Why? It is the cheapest
On Thu 21-03-13 10:33:07, Simon Jeons wrote:
Hi Mel,
On 03/21/2013 02:19 AM, Mel Gorman wrote:
The following problem was reported against a distribution kernel when
zone_reclaim was enabled but the same problem applies to the mainline
kernel. The reproduction case was as follows
1. Run
This patch adds new kind of dependencies between kconfig symbols,
and new kconfig keyword 'apply' for them.
'apply' works mostly like 'select', but it allows to disable target symbol.
Thus target symbol will be either disabled or reachable from current symbol.
This method allows to implement
As proof of concept for new approach in managing cross-module dependencies this
patch resolves hard depencency between CONFIG_E1000E and CONFIG_PTP_1588_CLOCK.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Richard Cochran richardcoch...@gmail.com
---
This patch adds some synax sugar for makefiles to simplify conditional linking
cross-module glue objects into composite modules.
For example: there two tristate config options MODULE_A and MODULE_B.
Module-B wants to use some code from Module-A. Code of Module-A is available
from Module-B if
After this patch function ptp_clock_index(struct ptp_clock *ptp)
returns -1 if ptp is NULL or CONFIG_PTP_1588_CLOCK disabled.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Richard Cochran richardcoch...@gmail.com
---
drivers/net/ethernet/broadcom/tg3.c |5 +
it seems:
only move slb_miss_realmode to the end, can fix this issue without negative
effect.
diff --git a/arch/powerpc/kernel/exceptions-64s.S
b/arch/powerpc/kernel/exceptions-64s.S
index 200afa5..56bd923 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++
Hi guys,
On Wed, Mar 20, 2013 at 10:21:25AM -0700, Greg Kroah-Hartman wrote:
On Tue, Mar 19, 2013 at 08:50:09PM +0100, Philippe Langlais wrote:
- if (up-port.type == PORT_16550A size_fifo(up) == 64) {
- up-port.type = PORT_U6_16550A;
- up-capabilities |=
Hi Michal,
On 03/21/2013 04:19 PM, Michal Hocko wrote:
On Thu 21-03-13 10:33:07, Simon Jeons wrote:
Hi Mel,
On 03/21/2013 02:19 AM, Mel Gorman wrote:
The following problem was reported against a distribution kernel when
zone_reclaim was enabled but the same problem applies to the mainline
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
man/btrfs.8.in | 37 +
1 file changed, 37 insertions(+)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 94f4ffe..54de60e 100644
--- a/man/btrfs.8.in
+++
On 03/20/2013 06:21 PM, Greg Kroah-Hartman wrote:
On Tue, Mar 19, 2013 at 08:50:09PM +0100, Philippe Langlais wrote:
The auto-detection based on 64 bytes fifo size causes troubles
for the identification of the MultiTechZPX Modems (pci 11c1:0480).
They loose the ability to do hardware flow
On Mon, Mar 11, 2013 at 04:30:26PM -0600, Stephen Warren wrote:
From: Stephen Warren swar...@nvidia.com
Tegra only supports, and always enables, device tree. Remove all ifdefs
and runtime checks for DT support from the driver.
Signed-off-by: Stephen Warren swar...@nvidia.com
Applied thanks
Hi Alex,
On 03/21/2013 01:13 PM, Alex Shi wrote:
On 03/20/2013 12:57 PM, Preeti U Murthy wrote:
Neither core will be able to pull the task from the other to consolidate
the load because the rq-util of t2 and t4, on which no process is
running, continue to show some number even though they
On Thu 21-03-13 16:32:03, Simon Jeons wrote:
Hi Michal,
On 03/21/2013 04:19 PM, Michal Hocko wrote:
On Thu 21-03-13 10:33:07, Simon Jeons wrote:
Hi Mel,
On 03/21/2013 02:19 AM, Mel Gorman wrote:
The following problem was reported against a distribution kernel when
zone_reclaim was enabled
On Tue, Mar 19, 2013 at 11:52:49AM +0100, Maxime Ripard wrote:
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having to use
clock-frequency.
Signed-off-by: Emilio López
On Tue, Mar 12, 2013 at 08:53:37PM -0300, Fabio Estevam wrote:
From: Fabio Estevam fabio.este...@freescale.com
Since commit 84c1e63c12 (dma: Remove erroneous __exit and __exit_p()
references)
the following section mismatch happens:
WARNING: drivers/built-in.o(.text+0x20f94): Section
On Thu, Mar 21, 2013 at 12:15:33AM -0700, Roland Dreier wrote:
I think this change will break the case where userspace tries to
register an MR with read-only permission, but intends locally through
the CPU to write to the memory.
Shouldn't it set LOCAL_WRITE then?
We're talking about
Hi Frank,
On Thu, Mar 21, 2013 at 11:29 AM, Frank Rowand frank.row...@am.sony.com wrote:
I found the problem on 3.6.11, but have not replicated it on 3.9-rcX
yet because my config fails to build on 3.9-rc1 and 3.9-rc2. I'll try
to work on that issue tomorrow.
I play upstream kernel on
On 3/21/13 2:17 AM, zwu.ker...@gmail.com wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
In [ \fB\-f\fP\fI ], the \fI will result in the front half [of
[ -f ] doesn't the back half ]; When you issue the command
man mkfs.btrfs, you will see the difference.
Signed-off-by: Zhi Yong Wu
On Thu 21-03-13 09:22:21, Li Zefan wrote:
As cgroup supports rename, it's unsafe to dereference dentry-d_name
without proper vfs locks. Fix this by using cgroup_name().
Signed-off-by: Li Zefan lize...@huawei.com
---
This patch depends on cgroup: fix cgroup_path() vs rename() race,
which
Hi Grant,
On Mar 19, 2013, at 7:18 PM, Grant Likely wrote:
On Tue, 19 Mar 2013 13:51:01 +0200, Pantelis Antoniou
pa...@antoniou-consulting.com wrote:
Hi Grant,
On Mar 16, 2013, at 11:24 AM, Grant Likely wrote:
On Wed, 23 Jan 2013 12:58:02 +0200, Pantelis Antoniou
On Thu, Mar 21, 2013 at 1:51 AM, Michael S. Tsirkin m...@redhat.com wrote:
In that case, no, I don't see any reason for LOCAL_WRITE, since the
only RDMA operations that will access this memory are remote reads.
What is the meaning of LOCAL_WRITE then? There are no local
RDMA writes as far as
Hello,
On Wed, Mar 20, 2013 at 07:50:51PM +0100, Sascha Hauer wrote:
On Wed, Mar 20, 2013 at 09:32:51AM -0700, Sören Brinkmann wrote:
If the caller
doesn't like the returned frequency he can request a different one.
And he's eventually happy with the return value he calls
clk_set_rate()
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
If system can create movable node which all memory of the
node is allocated as ZONE_MOVABLE, setup_node_data() cannot
allocate memory for the node's pg_data_t.
So, use memblock_alloc_try_nid() instead of memblock_alloc_nid()
to retry when the
As mentioned by Liu Jiang and Wu Jiangguo, users could specify DMA,
DMA32, and HIGHMEM as movable. In order to ensure the kernel will
work correctly, we should exclude these memory ranges out from
zone_movable_limit[].
NOTE: Do find_usable_zone_for_movable() to initialize movable_zone
so
Hi Yinghai, all,
This patch-set is based on Yinghai's tree:
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git
for-x86-mm
For main line, we need to apply Yinghai's
x86, ACPI, numa: Parse numa info early patch-set first.
Please refer to:
v1:
Now, Yinghai has tried to allocate pagetables and vmemmap pages in local
node. If we limit memblock allocation in movablemem_map.map[], we have to
exclude the pagetables and vmemmap pages.
So we need the following sequence:
1) Parse SRAT, store numa_meminfo.
2) Initialize memory mapping, allocate
Since we have introduced hotplug info into struct numa_meminfo, we need
to consider it when cleanup numa_meminfo.
The original logic in numa_cleanup_meminfo() is:
Merge blocks on the same node, holes between which don't overlap with
memory on other nodes.
This patch modifies
In order to support allocating pagetable and vmammap pages in local node,
we should initialzie memory mapping without any limitation for memblock first,
using memblock to reserve pagetable and vmemmap pages in local node, and then
sanitize movablemem_map.map[] to limit memblock.
In this way, we
Since we are using struct numa_meminfo to store SRAT info, and sanitize
movablemem_map.map[], we need hotplug info in struct numa_meminfo.
This patch introduces a bool hotpluggable member into struct
numa_meminfo.
And modifies the following APIs' prototypes to support it:
- numa_add_memblk()
We now provide an option for users who don't want to specify physical
memory address in kernel commandline.
/*
* For movablemem_map=acpi:
*
* SRAT:|_| |_| |_| |_| ..
* node id:0 1
If kernelcore or movablecore is specified at the same time with
movablemem_map, movablemem_map will have higher priority to be
satisfied. This patch will make find_zone_movable_pfns_for_nodes()
calculate zone_movable_pfn[] with the limit from zone_movable_limit[].
Signed-off-by: Tang Chen
When implementing movablemem_map boot option, we introduced an array
movablemem_map.map[] to store the memory ranges to be set as ZONE_MOVABLE.
Since ZONE_MOVABLE is the latst zone of a node, if user didn't specify
the whole node memory range, we need to extend it to the node end so that
we can
Ensure memblock will not allocate memory from areas that may be
ZONE_MOVABLE. The map info is from movablemem_map boot option.
The following problem was reported by Stephen Rothwell:
The definition of struct movablecore_map is protected by
CONFIG_HAVE_MEMBLOCK_NODE_MAP but its use in
Add functions to parse movablemem_map boot option. Since the option
could be specified more then once, all the maps will be stored in the
global array movablemem_map.map[].
And also, we keep the array in monotonic increasing order by start_pfn.
And merge all overlapped ranges.
Signed-off-by:
Since node info in SRAT may not be in increasing order, we may meet
a lower range after we handled a higher range. So we need to keep
the lowest movable pfn each time we parse a SRAT memory entry, and
update it when we get a lower one.
This patch introduces a new array zone_movable_limit[], which
This patch-set introduces a new boot option movablemem_map.
The functionality will be posted in two parts:
part1: Implement movablemem_map logic.
In this part, pagetable and vmemmap are not allowed to be allocated
on local node.
part2: Support allocating pagetable and vmemmap on
The Hot Pluggable field in SRAT points out if the memory could be
hotplugged while the system is running. It is useful to print out
this info when parsing SRAT.
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
arch/x86/mm/srat.c |9 ++---
1 files changed, 6 insertions(+), 3
Move a few declarations in a header.
Cc: David S. Miller da...@davemloft.net
Cc: Eric Dumazet eduma...@google.com
Cc: Pavel Emelyanov xe...@parallels.com
Cc: Pablo Neira Ayuso pa...@netfilter.org
Cc: Eric W. Biederman ebied...@xmission.com
Cc: Gao feng gaof...@cn.fujitsu.com
Signed-off-by: Andrey
Cc: David S. Miller da...@davemloft.net
Cc: Eric Dumazet eduma...@google.com
Cc: Pavel Emelyanov xe...@parallels.com
Cc: Pablo Neira Ayuso pa...@netfilter.org
Cc: Eric W. Biederman ebied...@xmission.com
Cc: Gao feng gaof...@cn.fujitsu.com
Signed-off-by: Andrey Vagin ava...@openvz.org
Andrey
The netlink_diag can be built as a module, just like it's done in
unix sockets.
The core dumping message carries the basic info about netlink sockets:
family, type and protocol, portis, dst_group, dst_portid, state.
Groups can be received as an optional parameter NETLINK_DIAG_GROUPS.
Netlink
On 03/21/2013 04:41 PM, Preeti U Murthy wrote:
Yes, I did find this behaviour on a 2 socket, 8 core machine very
consistently.
rq-util cannot go to 0, after it has begun accumulating load right?
Say a load was running on a runqueue which had its rq-util to be at
100%. After the load
The Kconfig symbol MAX_ACTIVE_REGIONS is unused. Commit
0ee332c1451869963626bf9cac88f165a90990e1 (memblock: Kill
early_node_map[]) removed the only place were it was actually used. But
it did not remove its Kconfig entries (for powerpc and sh).
Remove those two entries (and the entry for metag,
On Sun, Feb 24, 2013 at 04:36:09PM +0100, Markus Pargmann wrote:
No DMA of-function alters the name, so this patch changes the name arguments
to be constant. Most drivers will probably request DMA channels using a
constant name.
Signed-off-by: Markus Pargmann m...@pengutronix.de
Applied
On Mon, Feb 25, 2013 at 04:46:26AM +0530, Syam Sidhardhan wrote:
kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan s.s...@samsung.com
Applied thanks
---
drivers/dma/imx-dma.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/dma/imx-dma.c
On Wed, Mar 20, 2013 at 11:55:54PM -0700, Roland Dreier wrote:
On Wed, Mar 20, 2013 at 11:18 PM, Michael S. Tsirkin m...@redhat.com wrote:
core/umem.c seems to get the arguments to get_user_pages
in the reverse order: it sets writeable flag and
breaks COW for MAP_SHARED if and only if
On Thu, Mar 21, 2013 at 10:27:56AM +0100, Paul Bolle wrote:
The Kconfig symbol MAX_ACTIVE_REGIONS is unused. Commit
0ee332c1451869963626bf9cac88f165a90990e1 (memblock: Kill
early_node_map[]) removed the only place were it was actually used. But
it did not remove its Kconfig entries (for
On Thu, Mar 21, 2013 at 02:13:38AM -0700, Roland Dreier wrote:
On Thu, Mar 21, 2013 at 1:51 AM, Michael S. Tsirkin m...@redhat.com wrote:
In that case, no, I don't see any reason for LOCAL_WRITE, since the
only RDMA operations that will access this memory are remote reads.
What is the
On Wed, Mar 20, 2013 at 04:51:58PM +0100, Mike Turquette wrote:
Quoting Peter De Schrijver (2013-03-20 02:49:57)
On Wed, Mar 20, 2013 at 12:51:10AM +0100, Mike Turquette wrote:
Quoting Peter De Schrijver (2013-03-12 11:42:23)
diff --git a/include/linux/clk-private.h
The Kconfig entry for TMS320C6X_CACHES_ON was added together with the
C6X build infrastructure in v3.3. It has never been used. It can safely
be removed.
Signed-off-by: Paul Bolle pebo...@tiscali.nl
---
Untested.
arch/c6x/Kconfig | 4
1 file changed, 4 deletions(-)
diff --git
On 03/20/2013 10:50 PM, Andrew Morton :
On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre nicolas.fe...@atmel.com
wrote:
On some revisions of AT91 SoCs, the RTC IMR register is not working.
Instead of elaborating a workaround for that specific SoC or IP version,
we simply use a software
1 - 100 of 1704 matches
Mail list logo