i am writing a code where i add a new function to the linux kernel . the function is supposed to return the "total weight" of the current process, which is the sum