On Fri, Jul 27, 2012 at 07:48:28AM +0400, Pavel Emelyanov wrote:
+static int prep_fdinfo_driver(struct proc_fdinfo_extra *extra)
+{
+ struct proc_fdinfo_driver *s;
+
+ down_read(fdinfo_drivers_sem);
+ list_for_each_entry(s, fdinfo_drivers, list) {
+ if
+static void *seq_next(struct seq_file *m, void *p, loff_t *pos)
+{
+ struct proc_fdinfo_extra *extra = m-private;
+ void *v = NULL;
+
+ if (extra-driver) {
+ int ret = 0;
+
+ if (*pos == 0) {
+ v = extra-driver-ops-start(m, pos);
+
At 07/18/2012 06:17 PM, Yasuaki Ishimatsu Wrote:
When calling unregister_node(), the function shows following message at
device_release().
Device 'node2' does not have a release() function, it is broken and must be
fixed.
So the patch implements node_device_release()
CC: David Rientjes
Hi Daniel,
I already have a patch in my queue for this. However, it keys off the
PCI_DEVICE_ID_ASROCK_P67 PCI device ID. Do you have another Etron
device with a different device ID that needs this quirk?
Sarah Sharp
On Fri, Jul 27, 2012 at 12:03:44PM +0800, Daniel J Blueman wrote:
When
* Oleg Nesterov o...@redhat.com [2012-07-26 12:28:12]:
On 07/26, Srikar Dronamraju wrote:
* Oleg Nesterov o...@redhat.com [2012-07-12 19:10:22]:
1. vma_address() returns loff_t, this looks confusing and this is
unnecessary after the previous change. Make it return ulong,
all
On Fri, Jul 27, 2012 at 10:08:38AM +0400, Pavel Emelyanov wrote:
+static void *seq_next(struct seq_file *m, void *p, loff_t *pos)
+{
+ struct proc_fdinfo_extra *extra = m-private;
+ void *v = NULL;
+
+ if (extra-driver) {
+ int ret = 0;
+
+ if (*pos == 0) {
+
Dirk Gouders goud...@et.bocholt.fh-gelsenkirchen.de writes:
Seth Forshee seth.fors...@canonical.com writes:
On Thu, Jul 26, 2012 at 05:07:57PM +0200, Dirk Gouders wrote:
Hi Seth,
thanks for your reply and sorry for the noise.
I followed your advice and tried to boot with the WLAN
On 27 July 2012 14:14, Sarah Sharp sarah.a.sh...@linux.intel.com wrote:
On Fri, Jul 27, 2012 at 12:03:44PM +0800, Daniel J Blueman wrote:
When various USB3 devices with Etron XHCI controllers, we see a bunch of
warnings:
xhci_hcd :02:00.0: WARN Successful completion on short TX: needs
On 07/26/2012 05:11 PM, Mark Brown wrote:
On Thu, Jul 26, 2012 at 09:10:08AM +0900, Chanwoo Choi wrote:
If user press BTN_0 and BTN_1 at the same time and then user only
released BTN_0 but BTN_1 is still pressed, is it right that report
released event to all of buttons? I think that
On Friday 27 July 2012 01:10 AM, Stephen Warren wrote:
From: Gyungoh Yoojack@maxim-ic.com
+static int max8907_irq_set_wake(struct irq_data *data, unsigned int on)
+{
+ /* Everything happens in max8907_irq_sync_unlock */
+
Probably you need to call the wake_enable of irq which
Il 27/07/2012 05:12, Wang Sen ha scritto:
No this code is correct, though you will need to make sure to properly
terminate the destination sg_list.
Yes, the terminate marker in the destination list is set when initialization.
sg_set_page would not break this marker because it saved both the
On 26.07.12 at 17:33, Stefano Stabellini stefano.stabell...@eu.citrix.com
wrote:
--- a/include/xen/interface/xen.h
+++ b/include/xen/interface/xen.h
@@ -10,7 +10,10 @@
#define __XEN_PUBLIC_XEN_H__
#include asm/xen/interface.h
+#include linux/types.h
+#ifdef CONFIG_X86
#include
On 26.07.12 at 17:33, Stefano Stabellini stefano.stabell...@eu.citrix.com
wrote:
--- a/drivers/xen/Makefile
+++ b/drivers/xen/Makefile
@@ -1,11 +1,15 @@
-obj-y+= grant-table.o features.o events.o manage.o balloon.o
+ifneq ($(CONFIG_ARM),y)
+obj-y+= manage.o balloon.o
On 26.07.12 at 17:33, Stefano Stabellini stefano.stabell...@eu.citrix.com
wrote:
In order for privcmd mmap to work correctly, xen_remap_domain_mfn_range
needs to be implemented for HVM guests.
If it is not, mmap is going to fail later on.
Somehow, for me at least, this description doesn't
On Thu, Jul 26, 2012 at 12:46 PM, David Howells dhowe...@redhat.com wrote:
Michael Kerrisk mtk.manpa...@gmail.com wrote:
3. HEADER COMMENTS NOT RETAINED IN KAPI FILES
How about the attached changes? This is a delta to the disintegrate
markers
diff I sent earlier.
That looks about
Hi,
On Thu, Jul 26, 2012 at 06:45:26PM +0400, Evgeniy Polyakov wrote:
Hi all
On Wed, Jul 25, 2012 at 03:05:27PM +0300, Felipe Balbi (ba...@ti.com) wrote:
trivial patch, no functional changes.
Signed-off-by: Felipe Balbi ba...@ti.com
Looks good to me
Who should pick it up?
Feel
We are using 3.0.33 kernel and verification is done on ARM cortex a9.
On Fri, Jul 27, 2012 at 12:33 PM, naveen yadav yad.nav...@gmail.com wrote:
Hi All,
I am testing the cgroup block IO attributes in multiple threads scenario.
I tried testing Throttling policy (max read/write bytes per
Hi Jesse,
I would like to ask you to check if the documentation of nc in
netconsole.txt is still correct. I tried two different netcat packages
and both require -p to specify the listening port. I am wondering if
that changed after the use of nc has been documented.
Best regards,
Dirk
On Tue, Jul 24, 2012 at 11:05:27PM +0100, Alan Cox wrote:
On Mon, 23 Jul 2012 15:51:03 +0100
Ian Abbott abbo...@mev.co.uk wrote:
On 2012-07-21 23:41, Alan Cox wrote:
On Fri, 20 Jul 2012 23:07:06 +0100
Ian Abbott abbo...@mev.co.uk wrote:
I'm getting an Oops in the linux-next tree
On 26.07.12 at 22:43, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote:
If we boot a 64-bit guest with more than 4GB memory, the SWIOTLB
gets turned on:
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
software IO TLB [mem 0xfb43d000-0xff43cfff] (64MB) mapped at
On Fri, 27 Jul 2012 10:58:21 +0800, Wei Ni wrote:
On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote:
is it possible to program the sensor at this time, in your own thermal
driver?
Since we are using the generic thermal driver lm90.c, I'm not sure if we
could program these limits in the
Hi
When I study the interrupt handling code in 2.6.39 for omap soc, found don't
clear CPSR.I to enable irq till each ISR finished.
Is this true? Or I miss something, since this will be wired that the core will
not service any other irq before complete before irq handling.
Best wishes
Qipeng
On 26.07.12 at 22:47, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote:
2). Allocate a new array, copy the existing P2M into it,
revector the P2M tree to use that, and return the old
P2M to the memory allocate. This has the advantage that
it sets the stage for using
On 26.07.12 at 22:47, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote:
After all, this is what it is there for.
Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com
Acked-by: Jan Beulich jbeul...@suse.com
---
arch/x86/xen/mmu.c | 13 ++---
1 files changed, 6
The util-linux release v2.22-rc1 is available at
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/
Feedback and bug reports, as always, are welcomed.
Karel
Util-linux 2.22 Release Notes
=
The cryptoloop support in the commands mount(8) and losetup(8)
On δΊ”, 2012-07-27 at 09:30 +0200, Jean Delvare wrote:
On Fri, 27 Jul 2012 10:58:21 +0800, Wei Ni wrote:
On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote:
is it possible to program the sensor at this time, in your own thermal
driver?
Since we are using the generic thermal driver
Paul McKenney points out:
mean offline overhead is 6251/48=130.2 milliseconds.
If I remove the alternatives_smp_switch() from the offline
path [...] the mean offline overhead is 550/42=13.1 milliseconds
Basically, we're never going to get those 120ms back, and the code is
pretty messy.
We
On Wed, 25 Jul 2012 18:30:41 +0200 (CEST), Thomas Gleixner t...@linutronix.de
wrote:
The problem with the current notifiers is, that we only have ordering
for a few specific callbacks, but we don't have the faintest idea in
which order all other random stuff is brought up and torn down.
So
On Fri, 13 Jul 2012 16:38:51 +0800, Asias He as...@redhat.com wrote:
This patch introduces bio-based IO path for virtio-blk.
Acked-by: Rusty Russell ru...@rustcorp.com.au
I just hope we can do better than a module option in future.
Thanks,
Rusty.
--
To unsubscribe from this list: send the line
On Thu, 26 Jul 2012 15:05:39 +0200, Paolo Bonzini pbonz...@redhat.com wrote:
Il 26/07/2012 09:58, Paolo Bonzini ha scritto:
Please CC me on the convert to sg copy-less patches, It looks
interesting
Sure.
Well, here is the gist of it (note it won't apply on any public tree,
hence
When exec bio_alloc, the bi_rw is zero.But after calling bio_add_page,
it will use bi_rw.
Fox example, in functiion __bio_add_page,it will call merge_bvec_fn().
The merge_bvec_fn of raid456 will use the bi_rw to judge the merge.
if ((bvm-bi_rw 1) == WRITE)
return biovec-bv_len; /*
This patch adds ABI document for the following sysfs file:
/sys/bus/pci/devices/.../d3cold_allowed
Signed-off-by: Huang Ying ying.hu...@intel.com
---
Documentation/ABI/testing/sysfs-bus-pci | 12
1 file changed, 12 insertions(+)
--- a/Documentation/ABI/testing/sysfs-bus-pci
+++
Il 27/07/2012 08:27, Rusty Russell ha scritto:
+int virtqueue_add_buf_sg(struct virtqueue *_vq,
+ struct scatterlist *sg_out,
+ unsigned int out,
+ struct scatterlist *sg_in,
+ unsigned int in,
+
On Tuesday 24 July 2012 10:30 AM, Laxman Dewangan wrote:
On Tuesday 24 July 2012 10:38 AM, Vinod Koul wrote:
On Fri, 2012-07-20 at 13:31 +0530, Laxman Dewangan wrote:
Enable the DMA clock when allocating channel and
disable clock when freeing channels.
Signed-off-by: Laxman
On Fri, 2012-07-27 at 09:47 +0800, Alex Shi wrote:
From 610515185d8a98c14c7c339c25381bc96cd99d93 Mon Sep 17 00:00:00 2001
From: Alex Shi alex@intel.com
Date: Thu, 26 Jul 2012 08:55:34 +0800
Subject: [PATCH 1/3] sched: recover SD_WAKE_AFFINE in select_task_rq_fair and
code clean up
On Thu, Jul 26, 2012 at 01:42:26PM -0400, Rik van Riel wrote:
On 07/23/2012 12:04 AM, Hugh Dickins wrote:
Please don't be upset if I say that I don't like either of your patches.
Mainly for obvious reasons - I don't like Mel's because anything with
trylock retries and nested spinlocks
On Thu, Jul 26, 2012 at 12:01:04PM -0400, Larry Woodman wrote:
On 07/20/2012 09:49 AM, Mel Gorman wrote:
+retry:
mutex_lock(mapping-i_mmap_mutex);
vma_prio_tree_foreach(svma,iter,mapping-i_mmap, idx, idx) {
if (svma == vma)
continue;
+
* Ananth N Mavinakayanahalli ana...@in.ibm.com [2012-07-26 10:50:29]:
From: Ananth N Mavinakayanahalli ana...@in.ibm.com
This is the port of uprobes to powerpc. Usage is similar to x86.
[root@ ~]# ./bin/perf probe -x /lib64/libc.so.6 malloc
Added new event:
probe_libc:malloc(on
On Thu, Jul 26, 2012 at 05:00:28PM -0400, Rik van Riel wrote:
On 07/20/2012 09:49 AM, Mel Gorman wrote:
This V2 is still the mmap_sem approach that fixes a potential deadlock
problem pointed out by Michal.
Larry and I were looking around the hugetlb code some
more, and found what looks like
Hi Amit,
Thank you for commenting on our work.
(2012/07/26 20:35), Amit Shah wrote:
On (Tue) 24 Jul 2012 [11:36:57], Yoshihiro YUNOMAE wrote:
[...]
Therefore, we propose a new system virtio-trace, which uses enhanced
virtio-serial and existing ring-buffer of ftrace, for collecting guest
On Thu, 2012-07-26 at 17:56 +0100, David Vrabel wrote:
On 26/07/12 16:33, Stefano Stabellini wrote:
+ * The hvc ISS is required to be 0xEA1, that is the Xen specific ARM
+ * hypercall tag.
Is this number, 0xea1, assigned to Xen by some external body?
The value and semantics of the hvc
When the ODD is runtime suspended, there is no need to poll it for
events, so block events poll for it and unblock when resumed.
Signed-off-by: Aaron Lu aaron...@amd.com
---
block/genhd.c | 2 ++
drivers/scsi/sr.c | 7 ---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git
The ODD will be placed into suspend state when:
1 For tray type ODD, no media inside and door closed;
2 For slot type ODD, no media inside;
And together with ACPI, when we suspend the ODD's parent(the port it
attached to), we will omit the power altogether to reduce power
consumption(done in
When the ODD is resumed, disk_unblock_events should be called when:
1 The ODD is runtime resumed;
2 System is resuming from S3 and the ODD is runtime suspended before S3;
But not when the system is resuming from S3 and the ODD is runtime
active before S3.
So seperate the resume calls, one for
When runtime resume a scsi device, if the device's driver has
implemented runtime resume callback, use that.
sr driver needs this to do different things for system resume and
runtime resume.
Signed-off-by: Aaron Lu aaron...@amd.com
---
drivers/scsi/scsi_pm.c | 15 ++-
1 file
Signed-off-by: Aaron Lu aaron...@amd.com
---
drivers/scsi/sr.c | 23 +++
drivers/scsi/sr.h | 1 +
include/linux/cdrom.h | 43 +++
3 files changed, 67 insertions(+)
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
index
Set the ODD's in kernel poll interval to 2s for the user in case the
user is using an old distro on which udev will not set the system wide
block parameter events_dfl_poll_msecs.
Signed-off-by: Aaron Lu aaron...@amd.com
---
block/genhd.c | 23 +--
drivers/scsi/sr.c
v4:
Rebase on top of Linus' tree, due to this, the problem of a missing
flag in v3 is gone;
Add a new function scsi_autopm_put_device_autosuspend to first mark
last busy for the device and then put autosuspend it as suggested by
Oliver Neukum.
Typo fix as pointed by Sergei Shtylyov.
Check
Add a new interface scsi_autopm_put_device_autosuspend to mark
last busy for the device and then put autosuspend the device.
Signed-off-by: Aaron Lu aaron...@amd.com
---
drivers/scsi/scsi_pm.c | 7 +++
include/scsi/scsi_device.h | 2 ++
2 files changed, 9 insertions(+)
diff --git
On Fri, Jul 27, 2012 at 2:35 PM, Dirk Gouders
goud...@et.bocholt.fh-gelsenkirchen.de wrote:
Hi Jesse,
I would like to ask you to check if the documentation of nc in
netconsole.txt is still correct. I tried two different netcat packages
and both require -p to specify the listening port. I am
On Thu 26-07-12 14:31:50, Rik van Riel wrote:
On 07/20/2012 10:36 AM, Michal Hocko wrote:
--- a/arch/x86/mm/hugetlbpage.c
+++ b/arch/x86/mm/hugetlbpage.c
@@ -81,7 +81,12 @@ static void huge_pmd_share(struct mm_struct *mm, unsigned
long addr, pud_t *pud)
if (saddr) {
On Fri, Jul 27, 2012 at 12:24 AM, me...@codeaurora.org wrote:
On Thu, July 26, 2012 8:28 am, S, Venkatraman wrote:
On Tue, Jul 24, 2012 at 2:14 PM, me...@codeaurora.org wrote:
On Mon, July 23, 2012 5:22 am, S, Venkatraman wrote:
On Mon, Jul 23, 2012 at 5:13 PM, me...@codeaurora.org wrote:
On Thu, 2012-07-26 at 17:33 +0100, Konrad Rzeszutek Wilk wrote:
On Thu, Jul 26, 2012 at 04:33:44PM +0100, Stefano Stabellini wrote:
Use r12 to pass the hypercall number to the hypervisor.
We need a register to pass the hypercall number because we might not
know it at compile time and HVC
On Thu, 2012-07-26 at 20:19 +0100, Christopher Covington wrote:
Hi Stefano,
On 07/26/2012 11:33 AM, Stefano Stabellini wrote:
Use r12 to pass the hypercall number to the hypervisor.
We need a register to pass the hypercall number because we might not
know it at compile time and HVC
Cong Wang xiyou.wangc...@gmail.com writes:
On Fri, Jul 27, 2012 at 2:35 PM, Dirk Gouders
goud...@et.bocholt.fh-gelsenkirchen.de wrote:
Hi Jesse,
I would like to ask you to check if the documentation of nc in
netconsole.txt is still correct. I tried two different netcat packages
and both
On Thu, 2012-07-26 at 17:37 +0100, Konrad Rzeszutek Wilk wrote:
On Thu, Jul 26, 2012 at 04:33:46PM +0100, Stefano Stabellini wrote:
sync_bitops functions are equivalent to the SMP implementation of the
original functions, independently from CONFIG_SMP being defined.
So why can't the code
On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
Check for a /xen node in the device tree, if it is present set
xen_domain_type to XEN_HVM_DOMAIN and continue initialization.
Map the real shared info page using XENMEM_add_to_physmap with
XENMAPSPACE_shared_info.
Signed-off-by:
On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
We used to rely on a core_initcall to initialize Xen on ARM, however
core_initcalls are actually called after early consoles are initialized.
That means that hvc_xen.c is going to be initialized before Xen.
Given the lack of a
On (Fri) 27 Jul 2012 [17:55:11], Yoshihiro YUNOMAE wrote:
Hi Amit,
Thank you for commenting on our work.
(2012/07/26 20:35), Amit Shah wrote:
On (Tue) 24 Jul 2012 [11:36:57], Yoshihiro YUNOMAE wrote:
[...]
Therefore, we propose a new system virtio-trace, which uses enhanced
On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
Use Xen features to figure out if we are privileged.
XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg.
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com
---
arch/arm/xen/enlighten.c |7
On Thu, 2012-07-26 at 16:34 +0100, Stefano Stabellini wrote:
+#define XEN_IO_PROTO_ABI_ARMarm-abi
I wonder if we ought to call this arm-aarch32-abi or something?
I wonder if we can also take the opportunity to fix the ABI cockup for
disks on ARM and make the structs the same for both
+enum {
+ VMCI_SUCCESS_QUEUEPAIR_ATTACH = 5,
+ VMCI_SUCCESS_QUEUEPAIR_CREATE = 4,
+ VMCI_SUCCESS_LAST_DETACH= 3,
+ VMCI_SUCCESS_ACCESS_GRANTED = 2,
+ VMCI_SUCCESS_ENTRY_DEAD = 1,
We've got a nice collection of Linux error codes than you, and it would
On Fri, 2012-07-27 at 08:34 +0100, Jan Beulich wrote:
On 26.07.12 at 22:47, Konrad Rzeszutek Wilk konrad.w...@oracle.com
wrote:
2). Allocate a new array, copy the existing P2M into it,
revector the P2M tree to use that, and return the old
P2M to the memory allocate. This has
On 07/26/2012 11:48 PM, Larry Woodman wrote:
Mel, did you see this???
Larry
This patch looks good to me.
Larry, does Hugh's patch survive your testing?
Like I said earlier, no. However, I finally set up a reproducer that
only takes a few seconds
on a large system and this totally
On Fri, Jul 27, 2012 at 07:10:54AM +0200, Thierry Reding wrote:
At least the patch that adds me as the maintainer is Acked-by: Sascha
Hauer, who did the original work, and Arnd Bergmann who was involved in
the review process. Other people such as Shawn Guo and Mark Brown have
also been
This patch series aims to support physical memory hot-remove.
The patches can free/remove following things:
- acpi_memory_info : [RFC PATCH 4/19]
- /sys/firmware/memmap/X/{end, start, type} : [RFC PATCH 8/19]
- iomem_resource: [RFC PATCH
On 07/17/2012 11:59 PM, James Bottomley wrote:
On Tue, 2012-07-17 at 12:36 -0400, Christoph Hellwig wrote:
On Tue, Jul 17, 2012 at 10:11:57AM +0100, James Bottomley wrote:
There's no such thing in the market today as a removable disk that's
resizeable. Removable disks are for things like
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
There are two ways to create /sys/firmware/memmap/X sysfs:
- firmware_map_add_early
When the system starts, it is calledd from e820_reserve_resources()
- firmware_map_add_hotplug
When the memory is hot plugged, it is called from
On 27.07.12 at 12:00, Ian Campbell ian.campb...@citrix.com wrote:
On Fri, 2012-07-27 at 08:34 +0100, Jan Beulich wrote:
On 26.07.12 at 22:47, Konrad Rzeszutek Wilk konrad.w...@oracle.com
wrote:
2). Allocate a new array, copy the existing P2M into it,
revector the P2M tree to use
From: Sha Zhengju handai@taobao.com
Hi, list
This V2 patch series provide the ability for each memory cgroup to have
independent
dirty/writeback page statistics which can provide information for per-cgroup
direct reclaim or some.
In the first three prepare patches, we have done some
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
remove_memory() only try to offline pages. It is called in two cases:
1. hot remove a memory device
2. echo offline /sys/devices/system/memory/memoryXX/state
In the 1st case, we should also change memory block's state, and notify
the
On Fri, 2012-07-27 at 11:17 +0100, Jan Beulich wrote:
On 27.07.12 at 12:00, Ian Campbell ian.campb...@citrix.com wrote:
On Fri, 2012-07-27 at 08:34 +0100, Jan Beulich wrote:
On 26.07.12 at 22:47, Konrad Rzeszutek Wilk konrad.w...@oracle.com
wrote:
2). Allocate a new array, copy the
The function offline_memory() will be called when hot removing a
memory device. The memory device may contain more than one memory
block. If the memory block has been offlined, __offline_pages()
will fail. So we should try to offline one memory block at a
time.
If the memory block is offlined in
The memory device has only one node id. Store the node id when
enable the memory device, and we can reuse it when removing the
memory device.
CC: David Rientjes rient...@google.com
CC: Jiang Liu liu...@gmail.com
CC: Len Brown len.br...@intel.com
CC: Benjamin Herrenschmidt b...@kernel.crashing.org
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
We should offline and remove memory when removing the memory device.
The memory device can be removed by 2 ways:
1. send eject request by SCI
2. echo 1 /sys/bus/pci/devices/PNP0C80:XX/eject
In the 1st case, acpi_memory_disable_device() will
On Fri, Jul 27, 2012 at 10:40:54, Thierry Reding wrote:
On Thu, Jul 26, 2012 at 02:11:58PM -0700, Linus Torvalds wrote:
On Thu, Jul 26, 2012 at 12:16 AM, Thierry Reding
thierry.red...@avionic-design.de wrote:
The new PWM subsystem aims at collecting all implementations of the
legacy
From: Sha Zhengju handai@taobao.com
While accounting memcg page stat, it's not worth to use MEMCG_NR_FILE_MAPPED
as an extra layer of indirection because of the complexity and presumed
performance overhead. We can use MEM_CGROUP_STAT_FILE_MAPPED directly.
Signed-off-by: Sha Zhengju
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
If system supports memory hot-remove, online_pages() may online removed pages.
So online_pages() need to check whether onlining pages are present or not.
CC: David Rientjes rient...@google.com
CC: Jiang Liu liu...@gmail.com
CC: Len Brown
The function acpi_bus_remove() can remove a acpi device from acpi device.
When a acpi device is removed, we need to call this function to remove
the acpi device from acpi bus. So export this function.
CC: David Rientjes rient...@google.com
CC: Jiang Liu liu...@gmail.com
CC: Len Brown
On Thu, Jul 26, 2012 at 11:48:56PM -0400, Larry Woodman wrote:
On 07/26/2012 02:37 PM, Rik van Riel wrote:
On 07/23/2012 12:04 AM, Hugh Dickins wrote:
I spent hours trying to dream up a better patch, trying various
approaches. I think I have a nice one now, what do you think? And
more
The memory device has been ejected and powoffed, so we can call
acpi_bus_remove() to remove the memory device from acpi bus.
CC: David Rientjes rient...@google.com
CC: Jiang Liu liu...@gmail.com
CC: Len Brown len.br...@intel.com
CC: Benjamin Herrenschmidt b...@kernel.crashing.org
CC: Paul
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type}
sysfs files are created. But there is no code to remove these files. The patch
implements the function to remove them.
Note : The code does not free
(2012/07/23 9:48), Minchan Kim wrote:
Like below, memory-hotplug makes race between page-isolation
and page-allocation so it can hit BUG_ON in __offline_isolated_pages.
CPU A CPU B
start_isolate_page_range
set_migratetype_isolate
From: Sha Zhengju handai@taobao.com
Commit a8e7d49a(Fix race in create_empty_buffers() vs
__set_page_dirty_buffers())
extracts TestSetPageDirty from __set_page_dirty and is far away from
account_page_dirtied.But it's better to make the two operations in one single
function to keep modular.So
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
Since applying a patch(de7f0cba96786c), release_mem_region() has been changed
as called in PAGES_PER_SECTION chunks because register_memory_resource() is
called in PAGES_PER_SECTION chunks by add_memory(). But it seems firmware
dependency. If
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
When calling remove_memory_block(), the function shows following message at
device_release().
Device 'memory528' does not have a release() function, it is broken and must
be fixed.
remove_memory_block() calls kfree(mem). I think it shouled
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
The patch adds __remove_pages() to remove_memory(). Then the range of
phys_start_pfn argument and nr_pages argument in __remove_pagse() may
have different zone. So zone argument is removed from __remove_pages()
and __remove_pages()
We don't call __add_pages() directly in the function add_memory()
because some other architecture related things need to be done
before or after calling __add_pages(). So we should introduce
a new function arch_remove_memory() to revert the things
done in arch_add_memory().
Note: the function for
From: Sha Zhengju handai@taobao.com
Following we will treat SetPageDirty and dirty page accounting as an integrated
operation. Filesystems had better use vfs interface directly to avoid those
details.
Signed-off-by: Sha Zhengju handai@taobao.com
Acked-by: Sage Weil s...@inktank.com
---
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
There is a possibility that get_page_bootmem() is called to the same page many
times. So when get_page_bootmem is called to the same page, the function only
increments page-_count.
CC: David Rientjes rient...@google.com
CC: Jiang Liu
Add a pseudo-driver for debugging and stress-testing the
regmap/regcache APIs. A standard set of tools for working
with this driver (mainly sh scripts) will be put in a repo
at https://github.com/quantumdream/regmap-tools.
Change-Id: Ie6498f18d6f9a1f7a7cf813240e87ffed0d6f047
Signed-off-by:
From: Sha Zhengju handai@taobao.com
This patch adds memcg routines to count dirty pages, which allows memory
controller
to maintain an accurate view of the amount of its dirty memory and can provide
some
info for users while group's direct reclaim is working.
After Kame's commit
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
For implementing register_page_bootmem_info_node of sparse-vmemmap,
register_page_bootmem_info_node and put_page_bootmem are moved to
memory_hotplug.c
CC: David Rientjes rient...@google.com
CC: Jiang Liu liu...@gmail.com
CC: Len Brown
From: Sha Zhengju handai@taobao.com
Similar to dirty page, we add per cgroup writeback pages accounting. The lock
rule still is:
mem_cgroup_begin_update_page_stat()
modify page WRITEBACK stat
mem_cgroup_update_page_stat()
mem_cgroup_end_update_page_stat()
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
For removing memmap region of sparse-vmemmap which is allocated bootmem,
memmap region of sparse-vmemmap needs to be registered by get_page_bootmem().
So the patch searches pages of virtual mapping and registers the pages by
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
All pages of virtual mapping in removed memory cannot be freed, since some pages
used as PGD/PUD includes not only removed memory but also other memory. So the
patch checks whether page can be freed or not.
How to check whether page can be
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
When a memory is added, we update zone's and pgdat's start_pfn and spanned_pages
in the function __add_zone(). So we should revert these when the memory is
removed. Add a new function __remove_zone() to do this.
CC: David Rientjes
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
When calling unregister_node(), the function shows following message at
device_release().
Device 'node2' does not have a release() function, it is broken and must be
fixed.
So the patch implements node_device_release()
CC: David Rientjes
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
The patch adds node_set_offline() and unregister_one_node() to remove_memory()
for removing sysfs file of node.
CC: David Rientjes rient...@google.com
CC: Jiang Liu liu...@gmail.com
CC: Len Brown len.br...@intel.com
CC: Benjamin
From: Sha Zhengju handai@taobao.com
Signed-off-by: Sha Zhengju handai@taobao.com
Acked-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Ackedy-by: Michal Hocko mho...@suse.cz
Acked-by: Fengguang Wu fengguang...@intel.com
---
Documentation/cgroups/memory.txt |2 ++
1 files
1 - 100 of 958 matches
Mail list logo