01-01-2012
Quote:
Originally Posted by
saurabhkoar
Hi,
Or Each process has a user mode stack and there is only one kernel mode stack that is shared by all processes in the kernel mode?
On Linux, every thread on your system has a corresponding kernel stack allocated in kernel memory. X86 Linux kernel stacks are generally 8192 bytes in size.
7 More Discussions You Might Find Interesting
1. Programming
Can anybody tell me what a user frame & stack looks like on a sun, hp, powerpc system? (0 Replies)
Discussion started by: John Budnik
0 Replies
2. Programming
helo can u tell me what do you mean by stack winding and stack unwinding
Regards,
Amit (2 Replies)
Discussion started by: amitpansuria
2 Replies
3. Solaris
Hi all!
I've got a problem.
Primary: Sun Sparc V890, 64bit
Standby: HP-Proliant ML 350, 64bit
In the machine that I've got configured physical standby database, the alert_log_file point me one error:
Sat Feb 28 00:40:08 2009
ORA-00202: control file:... (5 Replies)
Discussion started by: trantuananh24hg
5 Replies
4. SCO
Hi everybody
My SCO 5.0.2 OpenServer got its kernel corruptions and network stack was accicentially deleted. I would like to know if we have any chance to rebuild its kernel and network stack.
Any help will be great thankfully appreciate
TN (1 Reply)
Discussion started by: TinhNhi
1 Replies
5. Programming
when transitionaning from user to kernel mode which function copies data from user mode buffer to kernel mode? (5 Replies)
Discussion started by: rupeshkp728
5 Replies
6. UNIX for Dummies Questions & Answers
I have a multithreaded usermode program(actually a daemon) which is in hanged state.
To debug it I tried attaching the process to gdb, but the gdb hangs.
gstack also gets hanged.
I peeped into the proc file system and saw the process to be in sleeping state.
/proc/sysrq-trigger I guess... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
7. Red Hat
Hi Guys,
I'm trying to install Oracle Database on to Oracle Linux 7.6 but when
the database install package checks the OS set-up, it keeps on failing
on the soft limits for the stack. It's default value is 8192 but I'm trying
to set it to 10240.
This is what I added to... (2 Replies)
Discussion started by: ASGR
2 Replies
VM86(2) Linux Programmer's Manual VM86(2)
NAME
vm86old, vm86 - enter virtual 8086 mode
SYNOPSIS
#include <sys/vm86.h>
int vm86old(struct vm86_struct *info);
int vm86(unsigned long fn, struct vm86plus_struct *v86);
DESCRIPTION
The system call vm86() was introduced in Linux 0.97p2. In Linux 2.1.15 and 2.0.28, it was renamed to vm86old(), and a new vm86() was
introduced. The definition of struct vm86_struct was changed in 1.1.8 and 1.1.9.
These calls cause the process to enter VM86 mode (virtual-8086 in Intel literature), and are used by dosemu.
VM86 mode is an emulation of real mode within a protected mode task.
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EFAULT This return value is specific to i386 and indicates a problem with getting user-space data.
ENOSYS This return value indicates the call is not implemented on the present architecture.
EPERM Saved kernel stack exists. (This is a kernel sanity check; the saved stack should exist only within vm86 mode itself.)
CONFORMING TO
This call is specific to Linux on 32-bit Intel processors, and should not be used in programs intended to be portable.
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2009-02-20 VM86(2)