03-03-2009
I cant guarantee you on that. But definitely you need to try.
8 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. Shell Programming and Scripting
Hi,
I am trying to set the environment for my oracle database. I have 5 database in an unix box. My idea is to create 5 files for each database with the following script on it.
After logging into the unix box ...just by typing the database name....the enviornment for the database... (2 Replies)
Discussion started by: castlerock
2 Replies
3. Solaris
Hi, all,
I need to add a user to our system in order to let him use Oracle and Perl. We want him to remain in his home directory and have no access to our data and other users' files.
I created a separate group for this user, and set his shell to rksh when I created his account, by which he... (2 Replies)
Discussion started by: alanlh
2 Replies
4. Programming
I need to know what is the maximum stack size i.e. -Xss my java program is running with.
Is there a way to find that out from inside my java program code and outside of it.
What i am looking for is to read whatever the current set max limit -Xss (stack sie) is for a particular JVM(not... (3 Replies)
Discussion started by: mohtashims
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am new to the linux kernel development area. I want to know what is the difference between kernel mode stack and user mode stack? Does each process has a user mode stack and a kernel mode stack?? Or Each process has a user mode stack and there is only one kernel mode stack that is shared by... (4 Replies)
Discussion started by: saurabhkoar
4 Replies
6. Shell Programming and Scripting
I need to connect my Oracle 11g DB from shell script with 'sysdba' permissions. To do this I have to switch user from 'root' to 'oracle'.
I've tried the following with no success.
su - oracle -c "<< EOF1
sqlplus -s "/ as sysdba" << EOF2
whenever sqlerror exit sql.sqlcode;... (2 Replies)
Discussion started by: NetBear
2 Replies
7. 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
8. 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
LEARN ABOUT NETBSD
mb_write
MB(9) BSD Kernel Developer's Manual MB(9)
NAME
mb, mb_memory, mb_read, mb_write -- memory barriers
SYNOPSIS
#include <sys/lock.h>
void
mb_memory(void);
void
mb_read(void);
void
mb_write(void);
DESCRIPTION
Many types of processor can execute instructions in a different order than issued by the compiler or assembler. On a uniprocessor system,
out of order execution is transparent to the programmer, operating system and applications, as the processor must ensure that it is self con-
sistent.
On multiprocessor systems, out of order execution can present a problem where locks are not used to guarantee atomicity of access, because
loads and stores issued by any given processor can appear on the system bus (and thus appear to other processors) in an unpredictable order.
mb_memory(), mb_read(), and mb_write() can be used to control the order in which memory accesses occur, and thus the order in which those
accesses become visible to other processors. They can be used to implement ``lockless'' access to data structures where the necessary bar-
rier conditions are well understood.
Memory barriers can be computationally expensive, as they are considered ``serializing'' operations and may stall further execution until the
processor has drained internal buffers and re-synchronized.
The memory barrier primitives control only the order of memory access. They provide no guarantee that stores have been flushed to the bus,
or that loads have been made from the bus.
The memory barrier primitives are guaranteed only to prevent reordering of accesses to main memory. They do not provide any guarantee of
ordering when used with device memory (for example, loads or stores to or from a PCI device). To guarantee ordering of access to device mem-
ory, the bus_dma(9) and bus_space(9) interfaces should be used.
FUNCTIONS
mb_memory()
Issue a full memory barrier, ordering all memory accesses. Causes all loads and stores preceding the call to mb_memory() to complete
before further memory accesses can be made.
mb_read()
Issue a read memory barrier, ordering all loads from memory. Causes all loads preceding the call to mb_read() to complete before fur-
ther loads can be made. Stores may be reordered ahead of or behind a call to mb_read().
mb_write()
Issue a write memory barrier, ordering all stores to memory. Causes all stores preceding the call to mb_write() to complete before
further stores can be made. Loads may be reordered ahead of or behind a call to mb_write().
SEE ALSO
__insn_barrier(3), bus_dma(9), bus_space(9), mutex(9), rwlock(9)
HISTORY
The memory barrier primitives first appeared in NetBSD 5.0.
BSD
January 2, 2011 BSD