by corbet on (#58HPB)
The set_fs() function dates back to the earliest days of the Linuxkernel; it is a key part of the machinery that keeps user-space andkernel-space memory separated from each other. It is also easy to misuseand has been the source of various security problems over the years; kerneldevelopers have long wanted to be rid of it. They won't completely get theirwish in the 5.10 kernel but, as the result of work that has been quietlyprogressing for several months, the end of set_fs() will be easilyvisible at that point.