Project

General

Profile

Actions

Feature #5880

closed

Increase IOV_MAX to at least 1024

Added by Robert Mustacchi over 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2015-04-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Today IOV_MAX on most other platforms is 1024; however, on illumos it is 16. This is properly informed by the value of IOV_MAX. However, there are applications out there (HVM-815) that don't even think to check IOV_MAX and just go to town. We should consider increasing ours to make life for parts of the lx brand easier (OS-3404) and for ourselves.

Today iovectors are declared by the kernel on the stack. If we have a smaller number of I/O vectors, then we continue to allocate them on the stack, otherwise we switch to a kmem allocation.

Actions

Also available in: Atom PDF