Skip to contentSkip to conversation

i-Pipi patch 3.14

Xenomai Frede Florian 3 participants 4 messages Oct 30, 2014 – Oct 31, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

I tried to patch the Kernel 3.14.22 and there is two new lines in the file fs/exec.c

tsk->mm->vmacache_seqnum = 0;
vmacache_flush(tsk);

I am not sure if the line from the iPipe patch should placed before or after this lines...

+ ipipe_mm_switch_unprotect(flags);

Thanks Florian

#1 lore raw
Quoted 5 lines · Frede Florian

Hello,

I tried to patch the Kernel 3.14.22 and there is two new lines in the file fs/exec.c

Quoted 7 lines

tsk->mm->vmacache_seqnum = 0;
vmacache_flush(tsk);

I am not sure if the line from the iPipe patch should placed before or after this lines...

+ ipipe_mm_switch_unprotect(flags);

We do not have enough information to understand what you are talking about. Show us the conflict as obtained with git merge or with patch --merge to give us more information.

Signature · 1 line
					    Gilles.
#2 lore raw
Quoted 9 lines · Gilles Chanteperdrix
Quoted 8 lines · Frede Florian

Hello,

I tried to patch the Kernel 3.14.22 and there is two new lines in the file fs/exec.c

tsk->mm->vmacache_seqnum = 0;
vmacache_flush(tsk);

Quoted 8 lines
Quoted 4 lines

I am not sure if the line from the iPipe patch should placed before or after this lines...

+ ipipe_mm_switch_unprotect(flags);

We do not have enough information to understand what you are talking about. Show us the conflict as obtained with git merge or with patch --merge to give us more information.

I've resolved the conflict with the vma caching that was back-ported to 3.14.x in ipipe-jki.git [1] (for-upstream/3.14 branch). Kernel works fine so far, but I didn't look into the details, if that caching thing affects us in the RT domain as well and requires more work.

Jan

[1] http://git.xenomai.org/ipipe-jki.git

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
#3 lore raw
Quoted 15 lines · Jan Kiszka
Quoted 14 lines · Gilles Chanteperdrix
Quoted 12 lines · Frede Florian

Hello,

I tried to patch the Kernel 3.14.22 and there is two new lines in the file fs/exec.c

tsk->mm->vmacache_seqnum = 0;
vmacache_flush(tsk);

I am not sure if the line from the iPipe patch should placed before or after this lines...

+ ipipe_mm_switch_unprotect(flags);

Quoted 8 lines
Quoted 3 lines

We do not have enough information to understand what you are talking about. Show us the conflict as obtained with git merge or with patch --merge to give us more information.

I've resolved the conflict with the vma caching that was back-ported to 3.14.x in ipipe-jki.git [1] (for-upstream/3.14 branch). Kernel works fine so far, but I didn't look into the details, if that caching thing affects us in the RT domain as well and requires more work.

Having looked rapidly at what this cache stuff is, I do not think it does, since it affects the find_vma function mainly called when taking page faults, all this happens in secondary mode, so, should have no impact on RT domain. That said, there could be some detail which breaks the I-pipe, of course.

Signature · 1 line
					    Gilles.