Maximum number of GPIOs for fast path

configname: CONFIG_GPIOLIB_FASTPATH_LIMIT

Linux Kernel Configuration
└─>Device Drivers
└─>GPIO Support
└─>Maximum number of GPIOs for fast path
In linux kernel since version 4.2 (release Date: 2015-08-30)  
This adjusts the point at which certain APIs will switch from
using a stack allocated buffer to a dynamically allocated buffer.

You shouldn't need to change this unless you really need to
optimize either stack space or performance. Change this carefully
since setting an incorrect value could cause stack corruption.

depends
CONFIG_GPIOLIB