Home
last modified time | relevance | path

Searched hist:"1 fa44eca" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dworkqueue.h1fa44eca Thu Feb 23 12:43:43 CST 2006 James Bottomley <James.Bottomley@steeleye.com> [SCSI] add execute_in_process_context() API

We have several points in the SCSI stack (primarily for our device
functions) where we need to guarantee process context, but (given the
place where the last reference was released) we cannot guarantee this.

This API gets around the issue by executing the function directly if
the caller has process context, but scheduling a workqueue to execute
in process context if the caller doesn't have it.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1fa44eca Thu Feb 23 12:43:43 CST 2006 James Bottomley <James.Bottomley@steeleye.com> [SCSI] add execute_in_process_context() API

We have several points in the SCSI stack (primarily for our device
functions) where we need to guarantee process context, but (given the
place where the last reference was released) we cannot guarantee this.

This API gets around the issue by executing the function directly if
the caller has process context, but scheduling a workqueue to execute
in process context if the caller doesn't have it.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/openbmc/linux/kernel/
H A Dworkqueue.c1fa44eca Thu Feb 23 12:43:43 CST 2006 James Bottomley <James.Bottomley@steeleye.com> [SCSI] add execute_in_process_context() API

We have several points in the SCSI stack (primarily for our device
functions) where we need to guarantee process context, but (given the
place where the last reference was released) we cannot guarantee this.

This API gets around the issue by executing the function directly if
the caller has process context, but scheduling a workqueue to execute
in process context if the caller doesn't have it.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1fa44eca Thu Feb 23 12:43:43 CST 2006 James Bottomley <James.Bottomley@steeleye.com> [SCSI] add execute_in_process_context() API

We have several points in the SCSI stack (primarily for our device
functions) where we need to guarantee process context, but (given the
place where the last reference was released) we cannot guarantee this.

This API gets around the issue by executing the function directly if
the caller has process context, but scheduling a workqueue to execute
in process context if the caller doesn't have it.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>