Masato Asou <a...@soum.co.jp> wrote: > As you pointed out, it is not a good idea to allocate large spaces > in kernel. > > Would it be better to keep the current fixed length? > > Prepare a variable like kern.maxpvbus and default it to > 4096. Futhermore, how about free() after copyout() to user space?
Sorry I did not look further since I am not familiar with the subsystem or what the purpose of the change is. Hopefully someone else who uses it will speak up and you can come up with a compromise.