Hi,
below is a code snippet from arch/sparc/kernel/entry.S. I can't understand a
part of it (I think I once understood it but forgot..).
#define LINUX_SYSCALL_TRAP \
sethi %hi(sys_call_table), %l7; \
or %l7, %lo(sys_call_table), %l7; \
b linux_sparc_syscall; \
rd
On Fri, 28 Mar 2014 07:25:37 -, ê¹ì°¬ said:
andcc %l7, 1, %g0
bne linux_fast_syscall
Then what is this andcc %l7, 1, %g0 doing?
Well, I'm not an expert on Sparc assembler, but.. 'andcc' looks like it's
doing an and, and setting the cc (condition code). Then 'bne'
Hi All,
I want to wait in my code till the IO actually goes to the disk.
For example
struct buffer_head *bh=sb_bread(sb, 20)
strcpy(bh-b_data, Some Data);
/* mark and sync */
mark_buffer_dirty(bh);
sync_dirty_buffer(bh);
The above code only adds the bh to the request queue and returns.
I
Hi Sankar,
Have you written any code further. I read your file system's code and
learnt a lot from it.
On Thu, Aug 8, 2013 at 8:36 PM, Sankar P sankar.curios...@gmail.com wrote:
okay. Thanks. I will update this list once I write enough code for the
next release :)
On Thu, Aug 8, 2013 at
On Fri, Mar 28, 2014 at 11:16:30PM +0530, Rishi Agrawal wrote:
Hi All,
I want to wait in my code till the IO actually goes to the disk.
That's an issue, as you really don't know what a disk is from within
the kernel :)
Back up, what exactly are you trying to do?
For example
struct
Thanks Valdis,
I thought similar way and it's clearer. Probably bit 0 of the sys_call_table
contains whether it's using fast syscal.
But I couldn't find the code setting bit 0. I'll try later when I'm done with
more urgent things.
Thank you!
Chan
From :