Here are some little scripts for spliiting up the Psion Linux patch into smaller chunks. These scripts are intended for producing patches more suitable for submitting back to kernel maintainers, and to insert them into bitkeeper. To try out what it produces, create a temporary directory: $ mkdir patches $ cd patches $ split_patch.pl -r ../linux-2.4.19-rmk2-5mx1.patch $ cd linux-2.4.19-rmk2 $ categorize_psion_patches.pl $ cd .. $ ls -l Now you should have several new patches.