Skip to content
Snippets Groups Projects
Commit 52bad64d authored by David Howells's avatar David Howells
Browse files

WorkStruct: Separate delayable and non-delayable events.


Separate delayable work items from non-delayable work items be splitting them
into a separate structure (delayed_work), which incorporates a work_struct and
the timer_list removed from work_struct.

The work_struct struct is huge, and this limits it's usefulness.  On a 64-bit
architecture it's nearly 100 bytes in size.  This reduces that by half for the
non-delayable type of event.

Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
parent 0f9005a6
No related branches found
No related tags found
Loading
Showing with 91 additions and 69 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment