I looked into this a while ago. I think I posted up pictures of the KLX and KLF base gaskets. From memory it is probably on the "Shared Disease" thread.
The barrel will fit with a bit of fiddling. I cannot remember if the cases need machining or not. The stud pattern is the same, but the dowels are different. A better solution would be to fit the KLF liner into a KLX barrel, providing the machining needed to fit it does not break through between the fins.
My KLX has been running at 270cc for a number of years without any problems. I use a Megacycle cam, and an MTC drag bike piston. This has given me a bottom end similar to a XT500 ! ! Pulls like a train. It revs well too, but I need to sort the carb out (read - Lectron). I also use a bespoke 1"1/2 exhaust.
It depends on what you want to do with the bike. For trail riding and the odd Vinduro the 270 conversion is plenty. Ideally it needs stroking along with a bigger bore. I have never bothered as I have other bikes that fit that bill if required.
If you need pictures, just shout.