[PATCH 0/3] padata: cpumasks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dan Kruchinin
Date: Wednesday, July 14, 2010 - 3:29 am

This is my third attempt to send padata cpumasks patchset.
The patchset includes fixes of all unclear things Steffen noted in previous two patchsets.
Changes:

1) Make two cpumasks in padata instead of one. The first cpumask is used by parallel workers and
another is used by the workers doing serialization. Two distinguish cpumasks perform to build
configuration where CPUs used by parallel and serial workers aren't intersect. It significantly
improves performance.
Each padata instance now includes notifier chain which can be used by users interested in instance's
cpumask(serial or parallel) change. If one of cpumask is changed an event is generated.

2) Add sysfs primitives to padata. Each padata instance contains kobject which can be embedded to any
proper sysfs hierarchy. Padata kobject can be used to change or show serial or parallel cpumask.

3) Add sysfs representation to pcrypt. Pcrypt now creates /sys/kernel/pcrypt/[pencrypt|pdecrypt] during
module loading phase. pencrypt and pdecrypt directories are represented by kobjects of padata instances
that belongs to pencrypt and pdecrypt respectively. Using this sysfs interface user can change and read
serial and parallel cpumasks of both instances.

-- 
W.B.R.
Dan Kruchinin
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] padata: cpumasks, Dan Kruchinin, (Wed Jul 14, 3:29 am)
Re: [PATCH 0/3] padata: cpumasks, Herbert Xu, (Sun Jul 18, 11:04 pm)
Re: [PATCH 0/3] padata: cpumasks, Steffen Klassert, (Sun Jul 18, 11:40 pm)
Re: [PATCH 0/3] padata: cpumasks, Herbert Xu, (Mon Jul 19, 12:32 am)
[PATCH 0/4] padata/pcrypt: fixes, Steffen Klassert, (Mon Jul 19, 11:47 pm)
[PATCH 1/4] padata: Fix cpu index counting, Steffen Klassert, (Mon Jul 19, 11:48 pm)
[PATCH 2/4] padata: Allocate cpumask dependend recources i ..., Steffen Klassert, (Mon Jul 19, 11:49 pm)
[PATCH 3/4] padata: Check for valid cpumasks, Steffen Klassert, (Mon Jul 19, 11:51 pm)
[PATCH 4/4] crypto: pcrypt - Dont calulate a callback cpu ..., Steffen Klassert, (Mon Jul 19, 11:52 pm)
Re: [PATCH 0/4] padata/pcrypt: fixes, Herbert Xu, (Sun Jul 25, 11:16 pm)