added getkernelBuffersize and settminTocopy function, but are currently disabled