workqueue_set_max_active
Prev | Workqueues and Kevents | Next

## 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.

Prev | Up | Next
destroy_workqueue | Home | workqueue_congested