Re: Need help with the mmu notifiers patches.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 18, 2008 at 6:18 AM, Arn <cse.syslab@xxxxxxxxx> wrote:
> Hi,
>
> Has anyone used the mmu notifiers patch with either kernels 2.6.25 or
> 2.6.26 ? I need some instructions on how to go about doing it.
> I found this directory containing the patches at kernel.org :
> http://www.kernel.org/pub/linux/kernel/people/andrea/patches/v2.6/
> I'm not sure how they are to be applied , do i use the usual "patch"
> utilities ?
>
> Any info would be appreciated.
>
> Thanks
> Arn

First u have to clone linus git tree.   Sorry, this solution may not
be optimum, but I just cut and paste what I have done here.

Then u apply the following commands:

List all version.

git tag -l

checkout the older version ---> rc7.

git checkout -b rc7_branch v2.6.26-rc7

make sure new branch rc7 is created.

git branch

create a new package with the rc7 files.

tar cvfz /tmp/2.6.26-rc7.tgz `git-ls-files`

Go somewhere and untar it:

mkdir 2.6.26-rc7
cd 2.6.26-rc7/
tar xvfz /tmp/2.6.26-rc7.tgz

Download the MMU patch into the same directory:

wget -nd -np -r
http://www.kernel.org/pub/linux/kernel/people/andrea/patches/v2.6/2.6.26-rc7/mmu-notifier-v18/

Apply the patch:

patch -p1 < list_del_init_rcu
patch -p1 < mm_take_all_locks
patch -p1 < mmu-notifier-core
patch -p1 < reserved-ram
patch -p1 < srcu
patch -p1 < outside-pt-lock
patch -p1 < free_pgtables
patch -p1 < unmap_vmas
patch -p1 < rwsem-contended
patch -p1 < i_mmap_lock_to_sem
patch -p1 < anon-vma
patch -p1 < mm_take_all_locks-rwsem
patch -p1 < zap-page-range
patch -p1 < mmap-sems

All patches should show successful application.

Now compile.

-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux