由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
USANews版 - 大家看看阿三在onsite的时候怎么黑我的 (转载)
相关主题
老墨、老黑、阿三在TRUMP的全美各大城市RALLY砸场子 (转载)纽约时报关于亚裔为什么支持民主党的分析
Why vote for Democrat?传铺说i love china,我听错了吗?
Obama's Reverend Wright Press Conferenceliterally什么意思?
今天的选举,就是用选票来表达看法的时候中国解决宗教问题比美帝牛
连Obama都跟romney老婆站一起了,肛抽还在造谣Advice needed: how should I respond?
不用掰了,O8赢了民主,人权,政治正确是华人在美国立足的基石
当初克林顿同学就说要在学校里面安排警察spirit cooking是行为艺术还是邪教仪式?
In Plea to Raise Debt Ceiling, Lew Repeats HimselfI will never, ever acknowledge him as a leader in any context of authority
相关话题的讨论汇总
话题: 阿三话题: kernel话题: user话题: onsite话题: coding
进入USANews版参与讨论
1 (共1页)
c*****g
发帖数: 21627
1
【 以下文字转载自 Military 讨论区 】
发信人: ccccmm (*>_<*), 信区: Military
标 题: 大家看看阿三在onsite的时候怎么黑我的 (转载)
发信站: BBS 未名空间站 (Sun Sep 29 17:10:06 2013, 美东)
发信人: wannafree (wannafree), 信区: SanFrancisco
标 题: 大家看看阿三在onsite的时候怎么黑我的
发信站: BBS 未名空间站 (Sun Sep 29 15:08:12 2013, 美东)
最近面试一个与file system有关系的公司,junior的职位,onsite有俩阿三(总共5个
人)。
其中一个阿三非常严肃,黑着个脸,本来是安排和我一起吃午餐,他拒绝吃,我一边吃
,他一边问我问题。下面是面试过程中两个问题以及他对我的feedback:
问题一:为什么context switch有big overhead?
我的回答如下:
Because context switch needs to invalidate caches, flush TLB, registers, and
store process related data, which all require a lot of cpu cycles. The new
process also takes time to warm up the cache and TLB.
他后来的feedback是:我对context switch的基本概念不了解 。。。
问题二:
why does the system call need to copy the file name into kernel space when
you call read()/wirte()/open()?
My answer:
User procs and kernel threads work in different address modes. User procs
cannot access kernel address which is in a protected mode. Kernel address
mode is mapped to either high or low 1GB of the user proc' VM. By coping the
file name into its own space, it will be more efficient from the
perspective of memory access.
Another reason may be to prevent the passed file names from being changed in
user space by somebody else.
后来他的feedback是:我对system call以及kernel address mode不了解
另一个阿三很nice,非常热情,先问了我一些问题,全都很顺利,后来coding,后来因
为时间有点不够(最后一个coding只留了15分钟,题目比较繁琐),在解释了主函数的
算法和corner case后,经的他同意省掉了一个辅助函数的coding。当时感觉非常好,
阿三也笑容满面,说well done。
后来的feedback说coding不熟练。
以前总还觉得身边的阿三还不错,这次就是亲身经历。工作很match,白人manager也有
有兴趣,结果被阿三这么一说,全都玩完了。onsite 5个人里有一个国人,但是却无能
为力。
T*********I
发帖数: 10729
2
阿三是不是等着面试的老中对他点头哈腰,否则全部都是不了解不熟练。
1 (共1页)
进入USANews版参与讨论
相关主题
I will never, ever acknowledge him as a leader in any context of authority连Obama都跟romney老婆站一起了,肛抽还在造谣
弗林可以被联邦法18 U.S.C. § 1001定罪不用掰了,O8赢了
All opinion , no facts , no real experience当初克林顿同学就说要在学校里面安排警察
上联very fake newsIn Plea to Raise Debt Ceiling, Lew Repeats Himself
老墨、老黑、阿三在TRUMP的全美各大城市RALLY砸场子 (转载)纽约时报关于亚裔为什么支持民主党的分析
Why vote for Democrat?传铺说i love china,我听错了吗?
Obama's Reverend Wright Press Conferenceliterally什么意思?
今天的选举,就是用选票来表达看法的时候中国解决宗教问题比美帝牛
相关话题的讨论汇总
话题: 阿三话题: kernel话题: user话题: onsite话题: coding