세상을 살면서 금치산자가 자신이 금치산자라고 인정하는 것 봤나?
지들이 무슨 행동을 하는지, 무슨 말을 하고 있는지 모르니까 금치산자인 것이지.
Posted by besapius
트랙백 주소 :: http://lodoss.makeself.net/trackback/311
http://www.mjmwired.net/kernel/Documentation/nommu-mmap.txt
http://www.linuxjournal.com/article/7221
--
Without VM, each process must be located at a place in memory where it
can be run. In the simplest case, this area of memory must be
contiguous. Generally, it cannot be expanded as there may be other
processes above and below it. This means that a
process in uClinux cannot increase
the size of its available memory at runtime as a traditional Linux process
would.
Without VM, swap is effectively impossible, although this limitation is rarely
an issue on the kinds of systems that run uClinux. They often do not
have hard drives or enough memory to make swap worthwhile.
--
http://linux.derkeiler.com/Newsgroups/comp.os.linux.embedded/2008-02/msg00022.html
There are three common uses that I can think of for (v)fork from
"normal" applications. One is in forking servers, another other is for
executing external subtasks, and the third is for splitting a task into
parallel executed parts.
In the first case, things like webservers will often fork new processes
to handle incoming connections. In this situation, it must be a real
fork, since the new process keeps the same code and inherits things like
file handles from the parent. This is a traditional unix server
arrangement, and does not work well under ucLinux or windows ("fork" in
*nix is extremely efficient using COW, but very slow if you don't have
an MMU and must copy everything, or if the OS simply doesn't support the
concept). Such servers need to be heavily modified to work without fork
- they need to either use select() and other such asynchronous
techniques, or they must use threads instead of processes. (Modern
apache, for example, uses a mixture of forks and threads.)
For applications that fork off external subtasks, you normally see a
fork/exec pair, often connected by a pipe to the parent. This sort of
structure is normally fairly easily modified to a vfork.
For applications that use fork to parallise (is that a word?) their
execution (keeping the same binary, but with different processes
executing different parts of the code), it is probably better to
re-write using threads. Traditionally, *nix was bad at thread handling
- there was no standardisation, and it was very unclear how threads
relate to processes for scheduling). Since fork was so cheap on *nix,
there was no real need for threads - unlike on windows, where fork is
expensive so threads were needed. But modern linux and ucLinux handle
threads well, making it a good choice in many situations.
====
기록용
Posted by besapius
트랙백 주소 :: http://lodoss.makeself.net/trackback/310
몸이 안 좋아 그동안 휴식을 좀 취했다. 지금도 그리 좋은 상태는 아니지만
이제는 걷기도 하고 통증은 있지만 의자에도 앉아있을 수 있다.
한국에 돌아가 '치료받고 올까?'도 생각해봤다. 하지만 여기서 2개월 쉬나
거기서 2개월쉬나 똑같다는 생각이 든다.
유학은 체험학습이 아니다. 영어를 배우러 온 것도 아니다. 그건 어학연수지.
사람들은 막 전해듣는 이야기로 유학생들은 잘 먹고, 잘 놀고, 잘 다니는 줄만 알고 있겠지?
진짜 유학생활이 뭔지 알고나 있을까?
지금까지 겪어 본 유학생활은...
읽을것들이 넘쳐 자꾸 쌓여만 가는 책과 논문들
때론 건강을 포기해야 하는 생활
돈이 있어도 시간이 없어 빵 조각으로 점심을 때우는 생활이다.
보이지 않는 적과 싸워야 하는 끝없는 기나긴 전쟁, 그 속에 끊이질 않는 전투들.
그게 바로 유학생활이다.
나도 모르게 생긴 버릇이 하나 있는데 학생들 집에 처음 가면 제일 먼저 찾아보게 되는 것!
하지만, 너무나도 쉽게 찾을 수 있는 것! 약!
비상약, 체력 보충제, 몸에 좋다는 약, 머리에 좋다는 약 등등..
누구 집에 가든 약통을 쉽게 볼 수 있다.
그렇지! 참고 오래 버텨야 하는게 유학생활이고 끈질기게 물고 늘어져야 하니까.
보이지 않는 그 놈하고의 싸움에서 반드시 승리해야만 하는 것이 유학생활이니까.
엄청난 체력없인 못하는게 유학생활이고 정신력이 몸을 이겨야 하는 싸움이니까.
내가 왜 여기 있나 항상 되새기면서 정신과 몸을 바싹 추스리고 계속 집중해야한다.
그동안 몸이 안 좋으니 정신력도 약해지고 매사에 움추리게 되고 사람들하고도 관계가 뜸하고...
일종의 우울증? 이제 다시 정신을 추스려서 이 못난 몸둥아리를 지배해야 할 때가 온 것 같다.
깊은 수렁에서 나올 때가 되었다.
더 이상의 바닥이 없을 만큼 가라앉았으니까.
Posted by besapius
트랙백 주소 :: http://lodoss.makeself.net/trackback/309