i'm curious about the value of this declaration in include/linux/workqueue.h: struct execute_work { struct work_struct work; }; what is the point of declaring a structure whose sole content is just another structure? it's not as if there's any usage which requires that structure to be distinct from a normal work_struct, and it's certainly not used a whole lot either: $ grep -rw execute_work * include/scsi/scsi_device.h: struct execute_work ew; /* used to get process context on put */ include/scsi/scsi_device.h: struct execute_work ew; include/linux/workqueue.h:struct execute_work { include/linux/workqueue.h:int execute_in_process_context(work_func_t fn, struct execute_work *); kernel/workqueue.c:int execute_in_process_context(work_func_t fn, struct execute_work *ew) $ so what's the point to this structure? thanks. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ======================================================================== -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ