From a9544eaf716662f86bf30be984473cb1551b422f Mon Sep 17 00:00:00 2001 From: Li Zefan Date: Wed, 18 Feb 2009 14:48:14 -0800 Subject: [PATCH] --- yaml --- r: 131483 b: refs/heads/master c: b851ee7921fabdd7dfc96ffc4e9609f5062bd12b h: refs/heads/master i: 131481: 0d15a0823b97a9d41bb224f1bc1a184466664bf3 131479: f3c9794b10c091b1892134b2eb8efe95f4c8067e v: v3 --- [refs] | 2 +- trunk/Documentation/cgroups/cgroups.txt | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 6dcbbfc8061e..21a2be5c41ec 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b6d6c5175809934e04a606d9193ef04924a7a7d9 +refs/heads/master: b851ee7921fabdd7dfc96ffc4e9609f5062bd12b diff --git a/trunk/Documentation/cgroups/cgroups.txt b/trunk/Documentation/cgroups/cgroups.txt index d9e5d6f41b92..93feb8444489 100644 --- a/trunk/Documentation/cgroups/cgroups.txt +++ b/trunk/Documentation/cgroups/cgroups.txt @@ -252,10 +252,8 @@ cgroup file system directories. When a task is moved from one cgroup to another, it gets a new css_set pointer - if there's an already existing css_set with the desired collection of cgroups then that group is reused, else a new -css_set is allocated. Note that the current implementation uses a -linear search to locate an appropriate existing css_set, so isn't -very efficient. A future version will use a hash table for better -performance. +css_set is allocated. The appropriate existing css_set is located by +looking into a hash table. To allow access from a cgroup to the css_sets (and hence tasks) that comprise it, a set of cg_cgroup_link objects form a lattice;