> I guess a 64bit processor does need 64bit addresses to reference memory. But
> at the same time, if 32 bit programs are to run unmodified on 64 bit
> architectures there needs to be ways in which 32bit pointers can still work.
> So, I am almost 100% sure that compiling 32bit code, even on a 64bit
64-bit processors have lm ("long mode") in the flags section of
cpuinfowhereas 32-bit processors have not.
regards
Dharmvir Kumar
On Thu, Jan 27, 2011 at 12:24 PM, Enrico Granata wrote:
> On Jan 26, 2011, at 10:45 PM, Mulyadi Santosa wrote:
>
> On Thu, Jan 27, 2011 at 13:40, prabhu wrote:
Hi...
On Thu, Jan 27, 2011 at 14:07, prabhu wrote:
> I am getting below output for /proc/cpuinfo . I hope *cpu family : 6 *means
> x86 family(32 bit processor). What if its 64 bit processor. ( I dont have
> system to check this.)
>
> processor : 0
> vendor_id : GenuineIntel
> *cpu family : 6*
> m
Hi Mulyadi,
> On Thu, Jan 27, 2011 at 13:40, prabhu wrote:
>
>> No, because 32bit code will tell the datatype size and i think pointer
>> variable depends on architecture.
>> So 64 bit processor needs 64 address line to point the data location. So
>> pointer variable needs to be 8 byte.
>>
On Jan 26, 2011, at 10:45 PM, Mulyadi Santosa wrote:
> On Thu, Jan 27, 2011 at 13:40, prabhu wrote:
>> No, because 32bit code will tell the datatype size and i think pointer
>> variable depends on architecture.
>> So 64 bit processor needs 64 address line to point the data location. So
>> pointer
On Thu, Jan 27, 2011 at 13:40, prabhu wrote:
> No, because 32bit code will tell the datatype size and i think pointer
> variable depends on architecture.
> So 64 bit processor needs 64 address line to point the data location. So
> pointer variable needs to be 8 byte.
Please don't top post and ple
Hi Enrico,
I am not sure.
No, because 32bit code will tell the datatype size and i think pointer
variable depends on architecture.
So 64 bit processor needs 64 address line to point the data location. So
pointer variable needs to be 8 byte.
please correct me if i am worng.
Thanks,
Prabhu
the size of the integer variable will be equal to your processor
architecture(32bit or 64 bit).
On Thu, Jan 27, 2011 at 11:56 AM, Enrico Granata wrote:
> What if one is compiling 32bit code on a 64bit processor? Would 4 be an
> acceptable result to you in that case?
>
> *Enrico Granata*
> *Compu
What if one is compiling 32bit code on a 64bit processor? Would 4 be an
acceptable result to you in that case?
Enrico Granata
Computer Science & Engineering Department (EBU3B) - Room 3240
office phone 858 534 9914
University of California, San Diego
On Jan 26, 2011, at 10:07 PM, prabhu wrote:
>
Hi Dear,
I just wanna to know my processor architecture(32bit or 64 bit) through
c programming.
According to me the sizeof of pointer will give the result. Like below
coding.
int main()
{
int *ptr;
printf("%d",sizeof(ptr));
}
If the result is 4 then it is 32 bit processor... If it is 8 then i
On Thu, Jan 27, 2011 at 12:56, loody wrote:
> I got a user-mode application without symbol and source, and it keeps
> console no response about 2 mins.
> I just want to know whether it is busy on processing itself or do the
> context switch frequently for calling kernel drivers at that time.
well
Hi Dear,
I just wanna to know my processor architecture(32bit or 64 bit) through
c programming.
According to me the sizeof of pointer will give the result. Like below
coding.
int main()
{
int *ptr;
printf("%d",sizeof(ptr));
}
Please correct me if i am wrong...
Any suggestion or help wo
Hi Dear,
I just wanna to know my processor architecture(32bit or 64 bit) through
c programming.
According to me the sizeof of pointer will give the result. Like below
coding.
int main()
{
int *ptr;
printf("%d",sizeof(ptr));
}
Please correct me if i am wrong...
Any suggestion or help
Hi!
On 11:42 Thu 27 Jan , loody wrote:
> Dear all:
> Is there any directory under proc/sys or tools that can help us to
> measure the traffic between user and kernel mode?
> (such as ioctl, open, close, etc.)
If you are interested in number of system calls per second, you can run dstat.
Howev
hi all:
thanks for your kind reply :-)
2011/1/27 Mulyadi Santosa :
> On Thu, Jan 27, 2011 at 10:42, loody wrote:
>> Dear all:
>> Is there any directory under proc/sys or tools that can help us to
>> measure the traffic between user and kernel mode?
>> (such as ioctl, open, close, etc.)
>
> By "tr
By experiment, we can know that all the fields of struct file are copied to
the child.
Here is what it happens.
When fork() is executed,
* A new array of struct file is created for the child.
* All the entries of the fd array of the parent is copied into the new array
of the child.
* Now both the p
On Thu, Jan 27, 2011 at 10:42, loody wrote:
> Dear all:
> Is there any directory under proc/sys or tools that can help us to
> measure the traffic between user and kernel mode?
> (such as ioctl, open, close, etc.)
By "traffic", you mean context switch latency? Perhaps you mean a tool
like lmbench
Hello,
I did not find any support for scrubbing in lvm, I would like to know id
this is right and the reason if so
I see 2 reasons => performance overhead
=> demerits of scrubbing when silent data corruption
and disk failure simultaneously ocurrs.
thanks,
sanoj
> Is there any directory under proc/sys or tools that can help us to
> measure the traffic between user and kernel mode?
> (such as ioctl, open, close, etc.)
Not that I know of, but you can use strace in order to monitor system
calls performed by a particular application.
Alex.
_
Hi,
Can anyone point me to intel multicore datasheet of system
programming guide or developers guide. I searched on Intel website,
which I found programming guides for processor arch, but not for
multicore archs. Please share if anyone has this information.
--
Thanks,
Sri.
___
Dear all:
Is there any directory under proc/sys or tools that can help us to
measure the traffic between user and kernel mode?
(such as ioctl, open, close, etc.)
--
Regards,
miloody
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http:/
On Thu, Jan 27, 2011 at 01:08, Robert P. J. Day wrote:
> since i'm in town and there was nothing on the schedule, i volunteered
> to give a short (hands-on) talk on building and booting a new kernel,
> and how to write, compile and load your first kernel module. nothing
> earth-shaking, but if yo
On Wed, 26 Jan 2011, Greg KH wrote:
> On Tue, Jan 25, 2011 at 09:34:48PM -0500, Robert P. J. Day wrote:
> >
> > just built a new kernel for ubuntu 10.10 (2.6.38-rc2) and,
> > depressingly, this kernel once again boots to a black screen given the
> > intel i915 onboard video. this is getting fru
while i'm still waiting for official confirmation, i've offered to
give next week's talk at the ottawa (ontario) linux users group.
here's the current posting which doesn't mention it yet:
http://oclug.on.ca/meeting/70/
since i'm in town and there was nothing on the schedule, i volunteered
t
Hi!
On 21:02 Tue 25 Jan , cheng chen wrote:
> Hi, all!
> I am going to further my education in graduate school of Master of Science
> degree. I am interested in network, but I am not sure what direction I
> should choose and which professional books I should read. Therefore I ask
> for help an
On Wed, Jan 26, 2011 at 07:16:26AM -0500, Robert P. J. Day wrote:
> On Wed, 26 Jan 2011, Greg KH wrote:
>
> > On Tue, Jan 25, 2011 at 09:34:48PM -0500, Robert P. J. Day wrote:
> > >
> > > just built a new kernel for ubuntu 10.10 (2.6.38-rc2) and,
> > > depressingly, this kernel once again boots
On Wed, 26 Jan 2011, Greg KH wrote:
> On Tue, Jan 25, 2011 at 09:34:48PM -0500, Robert P. J. Day wrote:
> >
> > just built a new kernel for ubuntu 10.10 (2.6.38-rc2) and,
> > depressingly, this kernel once again boots to a black screen given the
> > intel i915 onboard video. this is getting fru
On Wed, 26 Jan 2011, Alexandre Courbot wrote:
> > just built a new kernel for ubuntu 10.10 (2.6.38-rc2) and,
> > depressingly, this kernel once again boots to a black screen given the
> > intel i915 onboard video. this is getting frustrating.
>
> Just pulled and tried on my two i915 machines, an
Hi all,
We know that each file descriptor fd, has an associated 'struct file'. How is
the 'struct file' copied/cloned at fork?
Are all fields of 'struct file' inherited by child? I want to know if
there is a function
which takes a struct file* and creates a consistent copy/clone of it.
thanks,
D
29 matches
Mail list logo