linux-kernel mailing list

FromSubjectsort iconDate
neitron 777
Не понял
To: svoboda.n16.com Precedence: list Тема: SPAM 5.1 balls - N‹/Ўєj}zr‰ЏзuйЬzX¬µ:,ѕ†иu©хйК&>·њyЧ§qйbІЬ~O/./>џ.RЖFЦ–ж—7G&Fч Р Р Рў ѓS<ѓ@Р Р Р Р Р Р Рў >.n^ЮЋ^ВМ®._ЋЮ Переведите кавычки. -
Sep 17, 5:38 pm 2007
melnik-inna
(No subject)
To: svoboda.n16.com Precedence: list To: svoboda.n16.com Precedence: list To: svoboda.n16.com Precedence: list To: svoboda.n16.com Precedence: list Здравствуйте, administrator. N‹/Ўєj}zr‰Џ­зuйЬzX¬µ:,ѕ†иu©хйК&>·њyЧ§qйbІЬ~O/./>џ.RЖFЦ–ж—7G&Fч Р Р Рў ѓS<ѓ@Р Р Р Р Р Р Рў >.n^ЮЋ^ВМ®._ЋЮ Что это?? -- С уважением, melnik-inna ...
Sep 17, 3:14 pm 2007
Hans de Goede
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6
Hi all, Please keep me CC-ed I'm not on the list. I just found out about this thread while ivnestegating some autosuspend problems, which I will describe in another list. stern at rowland wrote: > Linus Torvalds wrote: > > - US_FL_FIX_CAPACITY: > > This is a generic SCSI issue, not a USB one, and maybe there are > > better solutions to it. Are we perhaps doing something wrong? Is > > there some patterns we haven't seen? Why do we need this, when > > pr...
Sep 17, 8:56 am 2007
lepton
[PATCH] 2.6.22.6 NETWORKING [IPV4]: Always use source addr i...
Hi, In some situation, icmp_reply and ip_send_reply will send out packet with the wrong source addr, the following patch will fix this. I don't understand why we must use rt->rt_src in the current code, if this is a wrong fix, please correct me. Signed-off-by: Lepton Wu <ytht.net@gmail.com> diff -X linux-2.6.22.6/Documentation/dontdiff -pru linux-2.6.22.6/net/ipv4/icmp.c linux-2.6.22.6-lepton/net/ipv4/icmp.c --- linux-2.6.22.6/net/ipv4/icmp.c 2007-09-14 17:41:18.000000000 +0...
Sep 17, 10:16 pm 2007
David Miller
Re: [PATCH] 2.6.22.6 NETWORKING [IPV4]: Always use source ad...
From: lepton <ytht.net@gmail.com> That the address is wrong is your opinion only :-) Source address selection is a rather complex topic, and here we are definitely purposefully using the source address selected by the routing lookup for the reply. -
Sep 17, 10:20 pm 2007
YOSHIFUJI Hideaki /
Re: [PATCH] 2.6.22.6 NETWORKING [IPV4]: Always use source ad...
And, if you do think something is "wrong", you need to describe it in detail, at least. --yoshfuji -
Sep 17, 10:26 pm 2007
david
Re: [PATCH] 2.6.22.6 NETWORKING [IPV4]: Always use source ad...
I missed the beginning of the discussion, so apologies if I'm way off base. it sounds like the question is, when a packet hits the box that causes a icmp_reply (or other packet) to be generated, which IP address should be used as the source 1. the destination address of the packet that generated the message or. 2. the IP address that the machine would use by default if the machine were to generate a new connection to the destination. I understand that in many cases the historical ap...
Sep 17, 11:14 pm 2007
lepton
Re: [PATCH] 2.6.22.6 NETWORKING [IPV4]: Always use source ad...
Hi, Sorry for my error. The problem is the current icmp_reply and ip_send_reply will send out packets with wrong destination address. Not wrong source address. My point is that we should always use the source address of packets we received as the destination address of our reply packets. -
Sep 17, 11:25 pm 2007
lepton
Re: [PATCH] 2.6.22.6 NETWORKING [IPV4]: Always use source ad...
Hi, sorry for my previous email. What I mean is icmp_reply and ip_send_reply in some situation will send out packets with wrong DESTINATION address. the source address is always correct. -
Sep 17, 10:59 pm 2007
lepton
Re: [PATCH] 2.6.22.6 NETWORKING [IPV4]: Always use source ad...
Hi, sorry for lack of details. let's think about ip_send_reply. it is only called by tcp_v4_send_ack and tcp_v4_reset. I don't know why we need a source address diffrent from ip_hdr(skb)->s_addr icmp_reply is only called by icmp_echo and icmp_timestamp. Is there a situation to need we use a source address diffrent from ip_hdr(skb)->s_addr? My situaiton is: I DNAT some tcp packet to my box. some times the box will reply reset or ack packet with tcp_v4_send_ack and tcp_v4_reset, ...
Sep 17, 10:48 pm 2007
John Duthie
Fwd: Intel DQ35JOE Mainboard 82566DM-2 Gigabit Network
I'm having a few Problems with a NEW PC Spec is: Intel DQ35JOE Mainboard Intel Q6600 Quad core CPU 4GB ram 3 SATA HDDs 1 SATA DVD-RW The Integrated NIC is not found by kernel 2.6.23-rc6 or 2.6.22.1 Am I missing an option in there ?? The Intel Drivers (e1000-7.6.5) don't compile against 2.6.23-rc6 or 2.6.22.1 /usr/src/intel/e1000- 7.6.5/src/e1000_ethtool.c:2109: error: 'ethtool_op_get_perm_addr' undeclared here (not in a function) ( I know, wrong place to report this ...... ) ( also SA...
Sep 17, 9:30 pm 2007
Kok, Auke
Re: Fwd: Intel DQ35JOE Mainboard 82566DM-2 Gigabit Network
A new driver will be available in 2 weeks, or you can use any of the git trees that have the "e1000e" driver which sill support this device (davem/net-2.6.24 or jgarzik/netdev-2.6@upstream) Cheers, Auke -
Sep 17, 11:56 pm 2007
Nix
[2.6.22.6] nfsd: fh_verify() `malloc failure' with lots of f...
Back in early 2006 I reported persistent hangs on the NFS server, whereby all of a sudden about ten minutes after boot my primary NFS server would cease responding to NFS requests until it was rebooted. <http://www.ussg.iu.edu/hypermail/linux/kernel/0601.3/1631.html> That time, the problem vanished when I switched to NFS-over-TCP: <http://www.ussg.iu.edu/hypermail/linux/kernel/0601.3/1773.html> Well, I just rebooted --- post-glibc-upgrade from 2.5 to 2.6.1, no kernel upgrade or anythi...
Sep 17, 6:23 pm 2007
J. Bruce Fields
Re: [2.6.22.6] nfsd: fh_verify() `malloc failure' with lots ...
Actually, they're nothing to do with malloc failures--the message printed here is misleading, and isn't even an error; it gets printed whenever an upcall to mountd is made. The problem is almost certainly a problem with kernel<->mountd communication--the kernel depends on mountd to answer questions about exported filesystems as part of the fh_verify code. It's just a shot in the dark, but you might try the latest nfs-utils (get the latest out of git://linux-nfs.org/nfs-utils if you're alre...
Sep 17, 6:36 pm 2007
Nix
Re: [2.6.22.6] nfsd: fh_verify() `malloc failure' with lots ...
Indeed, with more debugging, all the failures I see come from the call Ah! I keep forgetting that mountd isn't just used at mount time: damned misleading names, grumble. Restarting mountd clears the problem up temporarily, so you are Debian Sid recently upgraded to glibc 2.6.x, as did I... earlier versions of glibc will have had this behaviour too, but it may have been It is expected, judging from my reading of the code. stdio-common/vfprintf.c emits single chars using the outchar() macr...
Sep 17, 7:54 pm 2007
J. Bruce Fields
Re: [2.6.22.6] nfsd: fh_verify() `malloc failure' with lots ...
OK, I'm a little lost at this point (what's n? What's to_do?), but I'll take your word for it. I'd be kinda curious when exactly the behavior changed and why. Also I suppose we should check which version of nfs-utils that fix is in and make sure distributions are getting the fixed nfs-utils before they OK! Let me know if the problem's fixed. --b. -
Sep 17, 9:12 pm 2007
Michael Halcrow
[PATCH 0/11] eCryptfs: Introduce persistent lower files for ...
Currently, eCryptfs directly accesses the lower inode address space, doing things like grab_cache_page() on lower_inode->i_mapping. It really should not do that. The main point of this patch set is to make all I/O with the lower files go through vfs_read() and vfs_write() instead. In order to accomplish this, eCryptfs needs a way to call vfs_read() and vfs_write() on the lower file when ecryptfs_aops->readpage() and ecryptfs_aops->writepage() are called. I propose keeping a persistent low...
Sep 17, 5:44 pm 2007
Michael Halcrow
[PATCH 9/11] eCryptfs: Initialize persistent lower file on i...
Initialize persistent lower file on inode create. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/super.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/fs/ecryptfs/super.c b/fs/ecryptfs/super.c index b97e210..f8cdab2 100644 --- a/fs/ecryptfs/super.c +++ b/fs/ecryptfs/super.c @@ -47,15 +47,16 @@ struct kmem_cache *ecryptfs_inode_info_cache; */ static struct inode *ecryptfs_alloc_inode(struct super_block *sb) { - struct ecr...
Sep 17, 5:50 pm 2007
Michael Halcrow
[PATCH 10/11] eCryptfs: Remove unused functions and kmem_cache
The switch to read_write.c routines and the persistent file make a number of functions unnecessary. This patch removes them. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/crypto.c | 150 ------------------ fs/ecryptfs/ecryptfs_kernel.h | 21 +--- fs/ecryptfs/file.c | 28 ---- fs/ecryptfs/main.c | 5 - fs/ecryptfs/mmap.c | 336 ----------------------------------------- 5 files changed, 1 insertions(+), 539 deletions(-...
Sep 17, 5:51 pm 2007
Michael Halcrow
[PATCH 11/11] eCryptfs: Replace magic numbers
Replace some magic numbers with sizeof() equivalents. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/crypto.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 3b3cf27..425a144 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c @@ -1426,10 +1426,10 @@ static int parse_header_metadata(struct ecryptfs_crypt_stat *crypt_stat, u32 header_extent_size; u16 num_header_extents_at_fr...
Sep 17, 5:52 pm 2007
Michael Halcrow
[PATCH 8/11] eCryptfs: Convert mmap functions to use persist...
Convert readpage, prepare_write, and commit_write to use read_write.c routines. Remove sync_page; I cannot think of a good reason for implementing that in eCryptfs. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/mmap.c | 199 +++++++++++++++++++++++++++------------------------- 1 files changed, 103 insertions(+), 96 deletions(-) diff --git a/fs/ecryptfs/mmap.c b/fs/ecryptfs/mmap.c index 60e635e..dd68dd3 100644 --- a/fs/ecryptfs/mmap.c +++ b/fs/ecryptfs/mmap.c @@ ...
Sep 17, 5:50 pm 2007
Michael Halcrow
[PATCH 7/11] eCryptfs: Make open, truncate, and setattr use ...
Rather than open a new lower file for every eCryptfs file that is opened, truncated, or setattr'd, instead use the existing lower persistent file for the eCryptfs inode. Change truncate to use read_write.c functions. Change ecryptfs_getxattr() to use the common ecryptfs_getxattr_lower() function. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/crypto.c | 2 +- fs/ecryptfs/file.c | 50 ++++------------------ fs/ecryptfs/inode.c | 113 +++++++++++++++------------...
Sep 17, 5:49 pm 2007
Michael Halcrow
[PATCH 4/11] eCryptfs: Replace encrypt, decrypt, and inode s...
Replace page encryption and decryption routines and inode size write routine with versions that utilize the read_write.c functions. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/crypto.c | 427 ++++++++++++++++++++++------------------ fs/ecryptfs/ecryptfs_kernel.h | 14 +- fs/ecryptfs/inode.c | 12 +- fs/ecryptfs/mmap.c | 131 ++++--------- fs/ecryptfs/read_write.c | 12 +- 5 files changed, 290 insertions(+), 306 deletions(-...
Sep 17, 5:47 pm 2007
Michael Halcrow
[PATCH 6/11] eCryptfs: Update metadata read/write functions
Update the metadata read/write functions and grow_file() to use the read_write.c routines. Do not open another lower file; use the persistent lower file instead. Provide a separate function for crypto.c::ecryptfs_read_xattr_region() to get to the lower xattr without having to go through the eCryptfs getxattr. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/crypto.c | 126 +++++++++++++++++++---------------------- fs/ecryptfs/ecryptfs_kernel.h | 15 +++-- fs...
Sep 17, 5:48 pm 2007
Michael Halcrow
[PATCH 2/11] eCryptfs: Remove assignments in if-statements
Remove assignments in if-statements. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/crypto.c | 17 ++++++++------ fs/ecryptfs/file.c | 8 ++++-- fs/ecryptfs/inode.c | 35 ++++++++++++++++++------------ fs/ecryptfs/keystore.c | 55 +++++++++++++++++++++++++--------------------- fs/ecryptfs/main.c | 28 ++++++++++++++--------- fs/ecryptfs/messaging.c | 5 ++- fs/ecryptfs/mmap.c | 5 ++- 7 files changed, 89 insertions(+), 64 delet...
Sep 17, 5:45 pm 2007
Michael Halcrow
[PATCH 3/11] eCryptfs: read_write.c routines
Add a set of functions through which all I/O to lower files is consolidated. This patch adds a new inode_info reference to a persistent lower file for each eCryptfs inode; another patch later in this series will set that up. This persistent lower file is what the read_write.c functions use to call vfs_read() and vfs_write() on the lower filesystem, so even when reads and writes come in through aops->readpage and aops->writepage, we can satisfy them without resorting to direct access to the lowe...
Sep 17, 5:46 pm 2007
Michael Halcrow
[PATCH 5/11] eCryptfs: Set up and destroy persistent lower f...
This patch sets up and destroys the persistent lower file for each eCryptfs inode. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/inode.c | 23 +++++++++++++++--- fs/ecryptfs/main.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ fs/ecryptfs/super.c | 22 +++++++++++++++-- 3 files changed, 103 insertions(+), 7 deletions(-) diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index 7192a81..c746b5d 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecrypt...
Sep 17, 5:47 pm 2007
Michael Halcrow
[PATCH 1/11] eCryptfs: Remove header_extent_size
There is no point to keeping a separate header_extent_size and an extent_size. The total size of the header can always be represented as some multiple of the regular data extent size. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> --- fs/ecryptfs/crypto.c | 40 ++++++++++++++++++++-------------------- fs/ecryptfs/ecryptfs_kernel.h | 39 +++++++++++++++++++++++++++------------ fs/ecryptfs/inode.c | 7 ++++--- fs/ecryptfs/mmap.c | 2 +- 4 files c...
Sep 17, 5:45 pm 2007
Jiri Slaby
Re: [PATCH] revert ath5k ioread32()/iowrite32() usage - use ...
Ok, this is what Alan Cox wrote about that and you didn't reply to it, so I thought he's right. Anyway I wouldn't rely on iomap that it will never be changed even on x86 -- what's the (performance) impact of having ioread instead of readl? How much data are transferred this way? <cite from="http://lkml.org/lkml/2007/8/25/50"> On Sat, 25 Aug 2007 04:56:19 -0400 There is nothing that guarantees this is permitted, any more than there is anything saying not to use outb/outl. Some of the imple...
Sep 17, 5:44 pm 2007
Paul Menage
[PATCH 18/33] containers implement namespace tracking subsys...
From: "Serge E. Hallyn" <serue@us.ibm.com> (container->cgroup renaming by Paul Menage <menage@google.com>) When a task enters a new namespace via a clone() or unshare(), a new cgroup is created and the task moves into it. This version names cgroups which are automatically created using cgroup_clone() as "node_<pid>" where pid is the pid of the unsharing or cloned process. (Thanks Pavel for the idea) This is safe because if the process unshares again, it will create /cgro...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 00/33] Rename "Task Containers" to "Control Groups"
-- This patchset renames "Task Containers" to "Control Groups", in line with recent discussions. These patches are drop-in replacements for those of the same names in the current -mm tree, as listed at the bottom of this email. I have tried to keep the patch names (based on the description lines of each patch) the same even where such patch names refer to "containers" rather than "cgroups" - hopefully after these have been imported into -mm, Andrew can rename the patches in his quilt stack. ...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 01/33] task containersv11 basic task container framew...
Generic Process Control Groups -------------------------- There have recently been various proposals floating around for resource management/accounting and other task grouping subsystems in the kernel, including ResGroups, User BeanCounters, NSProxy cgroups, and others. These all need the basic abstraction of being able to group together multiple processes in an aggregate, in order to track/limit the resources permitted to those processes, or control other behaviour of the processes, and all impl...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 11/33] task containersv11 make cpusets a client of co...
Remove the filesystem support logic from the cpusets system and makes cpusets a cgroup subsystem The "cpuset" filesystem becomes a dummy filesystem; attempts to mount it get passed through to the cgroup filesystem with the appropriate options to emulate the old cpuset filesystem behaviour. Signed-off-by: Paul Menage <menage@google.com> --- Documentation/cpusets.txt | 91 +- fs/proc/base.c | 4 include/linux/cgroup_subsys.h | 6 include/linux/cpuset.h...
Sep 17, 5:03 pm 2007
Andreas Herrmann
[PATCH] mac_hid: fix build error if MAC_EMUMOUSEBTN && !INPUT
Hi, With current git an invalid kernel configuration is selectable which leads to kernel build errors for mac_hid. To prevent this selection I suggest follwoing patch. Regards, Andreas -- Build error if MAC_EMUMOUSEBTN && !INPUT: LD .tmp_vmlinux1 drivers/built-in.o: In function `input_report_key': include/linux/input.h:1158: undefined reference to `input_event' ... Auto-select INPUT for MAC_EMUMOUSEBTN option. Signed-off-by: Andreas Herrmann <aherrman@arcor.de...
Sep 17, 5:20 pm 2007
Paul Menage
[PATCH 26/33] memory controller task migration v7
From: Balbir Singh <balbir@linux.vnet.ibm.com> (container->cgroup renaming by Paul Menage <menage@google.com>) Allow tasks to migrate from one cgroup to the other. We migrate mm_struct's mem_cgroup only when the thread group id migrates. Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Paul Menage <menage@google.com> --- mm/memcontrol.c | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+) diff -puN mm/memcontrol.c~...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 05/33] task containersv11 add container_clone interface
Add support for cgroup_clone(), a way to create new cgroups intended to be used for systems such as namespace unsharing. A new subsystem callback, post_clone(), is added to allow subsystems to automatically configure cloned cgroups. Signed-off-by: Paul Menage <menage@google.com> --- Documentation/cgroups.txt | 7 + include/linux/cgroup.h | 3 kernel/cgroup.c | 135 +++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+) diff -puN Documentation/cgroup...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 19/33] containers implement namespace tracking subsys...
From: Cedric Le Goater <clg@fr.ibm.com> (container->cgroup renaming by Paul Menage <menage@google.com>) some cosmetic changes to init/Kconfig to make the subsystem list under cgroups look nicer when CONFIG_CGROUPS=y. also changed the 'select' to 'depends on' for the namespace subsystem. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Paul Menage <menage@google.com> --- init/Kconfig | 32 ++++++++++++++++---------------- 1 file changed, 16 inser...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 29/33] memory controller oom handling v7
From: Pavel Emelianov <xemul@openvz.org> (container->cgroup renaming by Paul Menage <menage@google.com>) Out of memory handling for cgroups over their limit. A task from the cgroup over limit is chosen using the existing OOM logic and killed. TODO: 1. As discussed in the OLS BOF session, consider implementing a user space policy for OOM handling. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: ...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 14/33] task-containersv11-basic-task-container-framew...
Fix a reference counting bug in cgroupfs As part of the extraction of cpusetfs to cgroupfs, a call to cpuset_get_dentry() was lost (justified by the fact that the dentry in question was now being passed down by the caller). Since cpuset_get_dentry() called lookup_one_len(), this resulted in a reference count being missed from the directory dentry. This patch removes cgroup_get_dentry() and replaces it with direct calls to lookup_one_len(); the initialization of cgroupfs dentry ops is done now i...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 25/33] memory controller memory accounting v7
From: Balbir Singh <balbir@linux.vnet.ibm.com> (container->cgroup renaming by Paul Menage <menage@google.com>) Add the accounting hooks. The accounting is carried out for RSS and Page Cache (unmapped) pages. There is now a common limit and accounting for both. The RSS accounting is accounted at page_add_*_rmap() and page_remove_rmap() time. Page cache is accounted at add_to_page_cache(), __delete_from_page_cache(). Swap cache is also accounted for. Each page's page_cgroup is p...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 24/33] memory controller accounting setup v7
From: Pavel Emelianov <xemul@openvz.org> (container->cgroup renaming by Paul Menage <menage@google.com>) Basic setup routines, the mm_struct has a pointer to the cgroup that it belongs to and the the page has a page_cgroup associated with it. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Paul Menage <menage@google.com> --- include/linux/memcontrol.h | 36 ++++++++++++++++++++++ inclu...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 32/33] memory-controller-improve-user-interface
From: Balbir Singh <balbir@linux.vnet.ibm.com> (container->cgroup renaming by Paul Menage <menage@google.com>) Change the interface to use bytes instead of pages. Page sizes can vary across platforms and configurations. A new strategy routine has been added to the resource counters infrastructure to format the data as desired. Suggested by David Rientjes, Andrew Morton and Herbert Poetzl Tested on a UML setup with the config for memory control enabled. Signed-off-by: Balbir S...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 10/33] task containersv11 automatic userspace notific...
Add the following files to the cgroup filesystem: notify_on_release - configures/reports whether the cgroup subsystem should attempt to run a release script when this cgroup becomes unused release_agent - configures/reports the release agent to be used for this hierarchy (top level in each hierarchy only) releasable - reports whether this cgroup would have been auto-released if notify_on_release was true and a release agent was configured (mainly useful for debugging) To avoid locking issues...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 03/33] task containersv11 add tasks file interface
Add the per-directory "tasks" file for cgroupfs mounts; this allows the user to determine which tasks are members of a cgroup by reading a cgroup's "tasks", and to move a task into a cgroup by writing its pid to its "tasks". Signed-off-by: Paul Menage <menage@google.com> --- include/linux/cgroup.h | 10 + kernel/cgroup.c | 359 +++++++++++++++++++++++++++++++++++- 2 files changed, 368 insertions(+), 1 deletion(-) diff -puN include/linux/cgroup.h~task-cgroupsv11-add-tasks-file...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 31/33] memory controller make page_referenced contain...
From: Balbir Singh <balbir@linux.vnet.ibm.com> (container->cgroup renaming by Paul Menage <menage@google.com>) Make page_referenced() cgroup aware. Without this patch, page_referenced() can cause a page to be skipped while reclaiming pages. This patch ensures that other cgroups do not hold pages in a particular cgroup hostage. It is required to ensure that shared pages are freed from a cgroup when they are not actively referenced from the cgroup that brought them in Signed-off-b...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 22/33] memory controller resource counters v7 fix
From: David Rientjes <rientjes@google.com> (container->cgroup renaming by Paul Menage <menage@google.com>) There's a gotcha in res_counter_charge_locked() because of C99 6.3.1.8(1) since both counter->limit and 'val' are of unsigned long type, the result of the subtraction will be the same; no promotion is required. So if 'val' is greater than counter->limit, it will always be larger than counter->usage and the conditional will fail. Simply casting this to signed doesn't w...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 07/33] task containersv11 shared container subsystem ...
Replace the struct css_set embedded in task_struct with a pointer; all tasks that have the same set of memberships across all hierarchies will share a css_set object, and will be linked via their css_sets field to the "tasks" list_head in the css_set. Assuming that many tasks share the same cgroup assignments, this reduces overall space usage and keeps the size of the task_struct down (three pointers added to task_struct compared to a non-cgroups kernel, no matter how many subsystems are registered...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 08/33] task containersv11 shared container subsystem ...
I think this is the right way to handle the lockdep false-positive in the current cgroups patches, but I'm not that familiar with lockdep so any suggestions for a better approach are welcomed. In order to avoid a false-positive lockdep warning, we lock the root inode of a new filesystem mount prior to taking cgroup_mutex, to preserve the invariant that cgroup_mutex nests inside inode->i_mutex. In order to prevent a lockdep false positive when locking i_mutex on a newly-created cgroup directory ...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 20/33] memory controller add documentation
From: Balbir Singh <balbir@linux.vnet.ibm.com> (container->cgroup renaming by Paul Menage <menage@google.com>) Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Paul Menage <menage@google.com> --- Documentation/controllers/memory.txt | 259 +++++++++++++++++++++++++ 1 files changed, 259 insertions(+) diff -puN /dev/null Documentation/controllers/memory.txt --- /dev/null +++ a/Documentation/controllers/memory.txt @@ -0,0 +1,259 @@ +Memory C...
Sep 17, 5:03 pm 2007
Paul Menage
[PATCH 21/33] memory controller resource counters v7
From: Pavel Emelianov <xemul@openvz.org> (container->cgroup renaming by Paul Menage <menage@google.com>) Introduce generic structures and routines for resource accounting. Each resource accounting cgroup is supposed to aggregate it, cgroup_subsystem_state and its resource-specific members within. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Paul Menage <menage@google.com> --- includ...
Sep 17, 5:03 pm 2007
previous daytodaynext day
September 16, 2007September 17, 2007September 18, 2007