WORKQUEUE_SET_MAX_AC

Section: Driver Basics (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

workqueue_set_max_active - adjust max_active of a workqueue  

SYNOPSIS

void workqueue_set_max_active(struct workqueue_struct * wq, int max_active);
 

ARGUMENTS

wq

target workqueue

max_active

new max_active value.
 

DESCRIPTION

Set max_active of wq to max_active.  

CONTEXT

Don't call from IRQ context.  

COPYRIGHT