CN105468400A - Linux user mode based method and system for calling timer - Google Patents

Linux user mode based method and system for calling timer Download PDF

Info

Publication number
CN105468400A
CN105468400A CN201510482761.XA CN201510482761A CN105468400A CN 105468400 A CN105468400 A CN 105468400A CN 201510482761 A CN201510482761 A CN 201510482761A CN 105468400 A CN105468400 A CN 105468400A
Authority
CN
China
Prior art keywords
user space
kernel
virtual address
address
kmem
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510482761.XA
Other languages
Chinese (zh)
Inventor
赵众
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201510482761.XA priority Critical patent/CN105468400A/en
Publication of CN105468400A publication Critical patent/CN105468400A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The present invention discloses a linux user mode based method and system for calling a timer. The method comprises: applying for an 8-byte consecutive memory by means of kmalloc in a kernel, and returning a head virtual address kmem of the memory; converting the virtual address kmem to a physical address kphy by means of _pa; enabling a user mode to acquire the physical address kphy from a kernel mode by means of ioctl; converting the physical address kphy to a virtual address umem, used for accessing a user mode address; defining a global variable jiffies in the kernel mode and writing the global variable into the virtual address kmem; enabling the user mode to create an infinite loop thread for performing a while (1), acquiring a value of the jiffies, and acquiring a system time by means of the value of the jiffies; and comparing and determining the system time and a locally stored last time, and calling a user mode timer to process a timer task. Thus, system calling is reduced, and system performance and efficiency are improved.

Description

A kind of method and system calling timer based on linux User space
Technical field
The present invention relates to computer realm, particularly relate to a kind of method and system calling timer based on linux User space
Background technology
In field of computer technology, timer is a kind of common and necessary technology, it is the aggregate of a series of function, the method provided by using it can make software at a fixed time in complete the function of specifying, its object is to make software at a fixed time in automatically perform certain behaviour and do or task, in a lot of application system or application platform, all will use timer comes the task of execution cycle property or the tasks carrying of particular moment at present, as realized automatic control, the functions such as definition status switching or delay process.
Linux kernel state has oneself timer, the system time of kernel and the task scheduling of correspondence can be obtained, but at present User space neither one User space oneself and the timer synchronous with kernel state, init_timer and add_timer provided by calling linux kernel is provided, to timer initialization, timer is added in the timer of kernel, by the timer of kernel, realize timer-triggered scheduler, to realize the timer processing task that Timing Processing user adds.
But realize above by inner core timer the timer function that user adds, all can produce system call, if the timer processing that system is frequently called or User space adds is too many, so the performance of whole system and efficiency will reduce.
Therefore, be necessary to provide a kind of method and system calling timer based on linux User space, to solve the technical matters that above-mentioned prior art exists.
Summary of the invention
The object of this invention is to provide a kind of method and system calling timer based on linux User space, to reduce system call, improve performance and the efficiency of system.
According to an aspect of the present invention, a kind of method calling timer based on linux User space is provided, comprises the following steps, step S1, apply for 8 byte continuous print internal memories at kernel by storage allocation function kmalloc, return the first virtual address kmem of internal memory; Step S2, described virtual address kmem is passed through _ _ pa order is converted to physical address kphy; Step S3, User space opens Time and obtains described physical address kphy by ioctl letter Number to kernel state; Step S4, described physical address kphy is converted to virtual address umem by User space, is used for carrying out the access of User space address; Step S5, defines a global variable jiffies and writes virtual address kmem in kernel state; Step S6, User space creates the endless loop thread of an execution while (1), obtains the value of described jiffies, obtains system time by the value of jiffies; Step S7, system time described in multilevel iudge and local last time of preserving, the timer processing task of timer of invoke user state.
Wherein, in the present invention as stated above, in described step S4, the physical address that the virtual address kmem of kernel application is corresponding is kphy, that the virtual address umem of User space is corresponding is same physical address kphy, any data that kernel writes to virtual address kmem, User space can be read out by virtual address umem.
Wherein, in the present invention as stated above, in described step S5, when a tick interrupt occurs kernel, then jiffies is added 1, when jiffies changes, kernel is just by the numerical value of jiffies write virtual address kmem.
Wherein, in the present invention as stated above, in described step S6, first While circulation obtains the content of virtual address umem, then corresponds to kernel virtual address kmem, gets the value that kernel is written in the described jiffies on virtual address kmem.
Wherein, in the present invention as stated above, in described step S6, While circulation, adds the dormancy of a sleep (10), to arrange circulation primary dormancy 10 milliseconds backmost.
According to another aspect of the present invention, a kind of system calling timer based on linux User space is provided, comprise kernel state and User space, wherein, kernel state comprises kernel and obtains address location and kernel converting unit, described kernel obtains address location and is used for applying for 8 byte continuous print internal memories at kernel by storage allocation function kmalloc, returns the first virtual address kmem of internal memory, and described kernel converting unit is used for virtual address kmem to pass through _ and _ pa order is converted to physical address kphy; User space comprises User space and obtains address location and User space converting unit, and described User space obtains address and is used for when User space starts, and obtains physical address kphy by ioctl function to kernel state; Described User space converting unit is used for physical address kphy to be converted to virtual address umem, is used for carrying out the access of User space address; Kernel state also comprises timing and is loaded into unit, for defining a global variable jiffies and write in virtual address kmem in kernel; User space also comprises circulation thread units, for creating the endless loop thread of an execution while (1), obtaining the value of described jiffies and obtaining system time by the value of jiffies; User space also comprises comparing unit, for multilevel iudge system time and local last time of preserving, and the timer processing task of timer of invoke user state.
Wherein, in the present invention as stated above, the physical address that the virtual address kmem of described kernel application is corresponding is kphy, that the virtual address umem of User space is corresponding is same physical address kphy, any data that kernel writes to virtual address kmem, User space can be read out by virtual address umem.
Wherein, in the present invention as stated above, described timing is loaded into unit, when a tick interrupt occurs kernel, then jiffies is added 1, and when jiffies changes, kernel is just by the numerical value of jiffies write virtual address kmem.
Wherein, in the present invention as stated above, described circulation thread units, first While circulation obtains the content of virtual address umem, then corresponds to kernel virtual address kmem, gets the value that kernel is written in the described jiffies on virtual address kmem.
Wherein, in the present invention as stated above, described circulation thread units, also for circulating backmost at described While, adds the dormancy of a sleep (10), ensures circulation primary dormancy 10 milliseconds.
According to a kind of method and system calling timer based on linux User space of the present invention, the value being obtained kernel state jiffies by User space can obtain system time, system time described in multilevel iudge and local last time of preserving, the timer processing task of timer of invoke user state, to reduce system call, improve performance and the efficiency of system.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Fig. 1 is the method flow diagram calling timer based on linux User space of the present invention;
Fig. 2 of the present inventionly calls kernel state structural drawing in the system of timer based on linux User space;
Fig. 3 of the present inventionly calls User space structural drawing in the system of timer based on linux User space;
Fig. 4 is the systematic schematic diagram calling timer based on linux User space of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with embodiment also with reference to accompanying drawing, the present invention is described in more detail.Should be appreciated that, these describe just exemplary, and do not really want to limit the scope of the invention.In addition, in the following description, the description to known features and technology is eliminated, to avoid unnecessarily obscuring concept of the present invention.
Fig. 1 shows the method flow diagram calling timer based on linux User space of the present invention;
Shown in Figure 1, the method calling timer based on linux User space of the present invention, comprises the following steps:
Step S1, applies for 8 byte continuous print internal memories at kernel by storage allocation function kmalloc, returns the first virtual address kmem of internal memory;
In this step S1, by storage allocation function kmalloc () function, according to grammer, void*kmalloc (size_tsize, intflags) distributes continuous print virtual address in kernel state, wherein, size is the size wanting storage allocation, and in units of byte, in the embodiment of the present invention, size is 8, namely distribute 8 byte continuous print internal memories, and return the first virtual address kmem of internal memory;
Step S2, described virtual address kmem is passed through _ pa order is converted to physical address kphy;
In this step S2, described virtual address kmem passes through _ and pa order is converted to physical address, concrete conversion computation process is exactly, virtual address, size 4 bytes (32bit), contain the information finding physical address, are divided into 3 parts: the 22nd to the 31st these 10 (the highest 10) is the index in page directory, 12nd to the 21st these 10 is the index in page table, and the 0th to the 11st these 12 (low 12) are page bias internals.Processor finds current page catalogue place Physical Page by CR3, get the high 10bit of virtual address, then this 10bit is moved to right 2bit (because each page directory item 4 byte longs, the 2bit that moves to right is equivalent to take advantage of 4) obtain the address in this page, take out this address place PDE (4 bytes), just have found this virtual address corresponding page table place Physical Page, get virtual address the 12nd to the 21st these 10, then this 10bit is moved to right 2bit (because each page table entry 4 byte longs, the 2bit that moves to right is equivalent to take advantage of 4) obtain the address in this page, take out the PTE (4 bytes) at this address place, just have found the address of the corresponding Physical Page of this virtual address, finally add that the page bias internal of 12bit obtains corresponding physical address.
Step S3, User space startup obtains described physical address kphy by ioctl function to kernel state;
By above-mentioned steps S1 and step S2, after kernel state obtains described physical address kphy, User space starts, by obtaining described physical address kphy to the interface function ioctl () that the IO passage of equipment manages to kernel state in device driver.
Step S4, is converted to virtual address umem by described physical address kphy, is used for carrying out the access of User space address;
After step S3 User space obtains described physical address kphy to kernel state, changing described physical address kphy by calculating is virtual address umem;
By above-mentioned steps S1 to described step S4, the physical address that the virtual address kmem of kernel application is corresponding is kphy, and the virtual address umem of User space corresponding be same physical address kphy with kernel, so any data that kernel writes to virtual address kmem, User space can be read out by virtual address umem.
Step S5, defines a global variable jiffies and writes virtual address kmem in kernel state;
In this step S5, described global variable jiffies is used for noting down the sum having produced ground beat since system starts, during startup, this variable jiffies is initialized as 0 by kernel, whenever there is a tick interrupt in kernel, variable jiffies will be added 1, when variable jiffies changes, the numerical value of variable jiffies is just written in described virtual address kmem by kernel.
Step S6, User space creates the endless loop thread of an execution while (1), obtains the value of described jiffies, obtains system time by the value of jiffies;
In this step S6, User space creates a thread, the endless loop of a While (1) is performed inside thread, first the content of User space virtual address umem is obtained in circulation, at above-mentioned steps S1 to described step S4, User space can be read out by virtual address umem, therefore User space can correspond to kernel virtual address kmem by virtual address umem, gets the value that kernel is written in the described variable jiffies on virtual address kmem; As above, described in step S5, the value of dependent variable jiffies is used to note down the sum having produced ground beat since system starts again, can obtain system time.
Step S7, system time described in multilevel iudge and local last time of preserving, the timer processing task of timer of invoke user state.
Described While circulation backmost, add the dormancy of a sleep (10), ensure circulation primary dormancy 10 milliseconds, after obtaining system time by step S6, system time described in multilevel iudge and local last time of preserving, if be greater than 10 milliseconds, i.e. the timer processing task of timer of invoke user state.
By adopting above-mentioned flow process, i.e. the timer processing of User space establishment, the interface provided by User space, add in the timer of User space, realize the mode that User space calls timer processing, realize Timing Processing task, reduce system call, improve system performance and efficiency.
Fig. 2 shows and of the present inventionly calls kernel state structural drawing in the system of timer based on linux User space; Fig. 3 shows and of the present inventionly calls User space structural drawing in the system of timer based on linux User space; Fig. 4 shows the systematic schematic diagram calling timer based on linux User space of the present invention.
Shown in Fig. 2 and Fig. 3 and Fig. 4, the system calling timer based on linux User space of the present invention, comprises kernel state and User space.
Wherein, described kernel state comprises kernel and obtains address location 1 and kernel converting unit 2, described kernel obtains address location 1 and applies for 8 byte continuous print internal memories at kernel by storage allocation function kmalloc, return the first virtual address kmem of internal memory, particularly, by storage allocation function kmalloc () function, according to grammer, void*kmalloc (size_tsize, intflags) in kernel state, continuous print virtual address is distributed, wherein, size is the size wanting storage allocation, in units of byte, in the embodiment of the present invention, size is 8, namely 8 byte continuous print internal memories are distributed, and return the first virtual address kmem of internal memory,
Described virtual address kmem is converted to physical address kphy by _ pa by described kernel converting unit 2, concrete conversion computation process is exactly, virtual address, size 4 bytes (32bit), contain the information finding physical address, be divided into 3 parts: the 22nd to the 31st these 10 (the highest 10) is the index in page directory, the 12nd to the 21st these 10 is the index in page table, and the 0th to the 11st these 12 (low 12) are page bias internals.Processor finds current page catalogue place Physical Page by CR3, get the high 10bit of virtual address, then this 10bit is moved to right 2bit (because each page directory item 4 byte longs, the 2bit that moves to right is equivalent to take advantage of 4) obtain the address in this page, take out this address place PDE (4 bytes), just have found this virtual address corresponding page table place Physical Page, get virtual address the 12nd to the 21st these 10, then this 10bit is moved to right 2bit (because each page table entry 4 byte longs, the 2bit that moves to right is equivalent to take advantage of 4) obtain the address in this page, take out the PTE (4 bytes) at this address place, just have found the address of the corresponding Physical Page of this virtual address, finally add that the page bias internal of 12bit obtains corresponding physical address.
User space comprises User space and obtains address location 4 and User space converting unit 5, described User space obtains address location 4 when User space starts, by obtaining described physical address kphy to interface function ioctl function () that the IO passage of equipment manages to kernel state in device driver.
After User space obtains described physical address kphy to kernel state, change described physical address kphy by described User space converting unit 4 calculating to be used for carrying out the access of User space address into virtual address umem, namely the physical address that the virtual address kmem of kernel application is corresponding is kphy, and the virtual address umem of User space corresponding be same physical address kphy with kernel, so any data that kernel writes to virtual address kmem, User space can be read out by virtual address umem.
Described kernel state also comprises timing and is loaded into unit 3, for defining a global variable jiffies and write in virtual address kmem in kernel, described global variable jiffies is used for noting down the sum having produced ground beat since system starts, during startup, this variable jiffies is initialized as 0 by kernel, when a tick interrupt occurs kernel, variable jiffies will be added 1, when variable jiffies changes, the numerical value of variable jiffies is just written in described virtual address kmem by kernel.
User space also comprises circulation thread units 6, for creating a thread, the endless loop of a While (1) is performed inside thread, first the content of User space virtual address umem is obtained in circulation, as foregoing description, User space can be read out by virtual address umem, therefore User space can correspond to kernel virtual address kmem by virtual address umem, gets the value that kernel is written in the described variable jiffies on virtual address kmem; As mentioned above, the value of dependent variable jiffies is used to note down the sum having produced ground beat since system starts again, can obtain system time.
Described While circulation backmost, add the dormancy of a sleep (10), ensure circulation primary dormancy 10 milliseconds, User space also comprises comparing unit 7, the described system time that multilevel iudge obtains and local last time of preserving, if be greater than 10 milliseconds, i.e. the timer processing task of timer of invoke user state.
By adopting said system, i.e. the timer processing of User space establishment, the interface provided by User space, add in the timer of User space, realize the mode that User space calls timer processing, realize Timing Processing task, reduce system call, improve system performance and efficiency.
In sum, a kind of method and system calling timer based on linux User space of the present invention, the timer processing that User space creates, by the interface that User space provides, add in the timer of User space, realize the mode that User space calls timer processing, realize Timing Processing task, reduce system call, improve system performance and efficiency.
Should be understood that, above-mentioned embodiment of the present invention only for exemplary illustration or explain principle of the present invention, and is not construed as limiting the invention.Therefore, any amendment made when without departing from the spirit and scope of the present invention, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.In addition, claims of the present invention be intended to contain fall into claims scope and border or this scope and border equivalents in whole change and modification.

Claims (10)

1. call a method for timer based on linux User space, it is characterized in that, comprise the following steps:
Step S1, applies for 8 byte continuous print internal memories at kernel by storage allocation function kmalloc, returns the first virtual address kmem of internal memory;
Step S2, described virtual address kmem is passed through _ pa order is converted to physical address kphy;
Step S3, when User space starts, obtains described physical address kphy by ioctl function to kernel state;
Step S4, described physical address kphy is converted to virtual address umem by User space, is used for carrying out the access of User space address;
Step S5, defines a global variable jiffies and writes virtual address kmem in kernel state;
Step S6, User space creates the endless loop thread of an execution while (1), obtains the value of described jiffies, obtains system time by the value of jiffies;
Step S7, system time described in multilevel iudge and local last time of preserving, the timer processing task of timer of invoke user state.
2. the method calling timer based on linux User space according to claim 1, it is characterized in that, in described step S4, the physical address that the virtual address kmem of kernel application is corresponding is kphy, that the virtual address umem of User space is corresponding is same physical address kphy, any data that kernel writes to virtual address kmem, User space can be read out by virtual address umem.
3. the method calling timer based on linux User space according to claim 2, is characterized in that, in described step S5, whenever there is a tick interrupt in kernel, then jiffies is added 1, when jiffies changes, kernel is just by the numerical value of jiffies write virtual address kmem.
4. the method calling timer based on linux User space according to claim 3, it is characterized in that, in described step S6, first While circulation obtains the content of virtual address umem, correspond to kernel virtual address kmem again, get the value that kernel is written in the described jiffies on virtual address kmem.
5. the method calling timer based on linux User space according to any one of claim 1 to 4, it is characterized in that, in described step S6, While circulation, adds the dormancy of a sleep (10) to arrange circulation primary dormancy 10 milliseconds backmost.
6. call a system for timer based on linux User space, it is characterized in that, comprising: kernel state and User space, wherein,
Kernel state comprises kernel and obtains address location and kernel converting unit, described kernel obtains address location and is used for applying for 8 byte continuous print internal memories at kernel by storage allocation function kmalloc, returning the first virtual address kmem of internal memory, described kernel converting unit is used for virtual address kmem to pass through _ and _ pa order is converted to physical address kphy;
User space comprises User space and obtains address location and User space converting unit, and described User space obtains address and is used for when User space starts, and obtains physical address kphy by ioctl function to kernel state; Described User space converting unit is used for physical address kphy to be converted to virtual address umem, is used for carrying out the access of User space address;
Kernel state also comprises timing and is loaded into unit, for defining a global variable jiffies and write in virtual address kmem in kernel;
User space also comprises circulation thread units, for creating the endless loop thread of an execution while (1), obtaining the value of described jiffies and obtaining system time by the value of jiffies;
User space also comprises comparing unit, for multilevel iudge system time and local last time of preserving, and the timer processing task of timer of invoke user state.
7. the system calling timer based on linux User space according to claim 6, it is characterized in that, the physical address that the virtual address kmem of described kernel application is corresponding is kphy, that the virtual address umem of User space is corresponding is same physical address kphy, any data that kernel writes to virtual address kmem, User space can be read out by virtual address umem.
8. the system calling timer based on linux User space according to claim 7, it is characterized in that, described timing is loaded into unit, whenever there is a tick interrupt in kernel, then jiffies is added 1, when jiffies changes, kernel is just by the numerical value of jiffies write virtual address kmem.
9. the system calling timer based on linux User space according to claim 8, it is characterized in that, described circulation thread units, first While circulation obtains the content of virtual address umem, correspond to kernel virtual address kmem again, get the value that kernel is written in the described jiffies on virtual address kmem.
10. the system calling timer based on linux User space according to any one of claim 6 to 9, it is characterized in that, described circulation thread units, also for circulating backmost at described While, adds the dormancy of a sleep (10), ensures circulation primary dormancy 10 milliseconds.
CN201510482761.XA 2015-08-03 2015-08-03 Linux user mode based method and system for calling timer Pending CN105468400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510482761.XA CN105468400A (en) 2015-08-03 2015-08-03 Linux user mode based method and system for calling timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510482761.XA CN105468400A (en) 2015-08-03 2015-08-03 Linux user mode based method and system for calling timer

Publications (1)

Publication Number Publication Date
CN105468400A true CN105468400A (en) 2016-04-06

Family

ID=55606141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510482761.XA Pending CN105468400A (en) 2015-08-03 2015-08-03 Linux user mode based method and system for calling timer

Country Status (1)

Country Link
CN (1) CN105468400A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802689A (en) * 2016-12-14 2017-06-06 西北工业大学 The implementation method of adjustable speed timer under Windows operating system environment
CN107526620A (en) * 2017-09-28 2017-12-29 东软集团股份有限公司 A kind of User space input-output equipment collocation method and device
CN108810181A (en) * 2017-05-03 2018-11-13 普天信息技术有限公司 A kind of address conversion method based on Intel DPDK
CN112463662A (en) * 2020-12-16 2021-03-09 福州创实讯联信息技术有限公司 Method and terminal for controlling I2C equipment by user mode
WO2022166553A1 (en) * 2021-02-05 2022-08-11 华为技术有限公司 Method and apparatus for implementing batch system calls
CN118034894A (en) * 2024-04-11 2024-05-14 浪潮云信息技术股份公司 Method for managing kernel mode timer of operating system, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200930A (en) * 2011-05-26 2011-09-28 华为数字技术有限公司 Synchronous variable mapping method and device, synchronous variable freeing method and synchronous variable deleting method
WO2012016439A1 (en) * 2010-08-06 2012-02-09 中兴通讯股份有限公司 Method, device and equipment for service management
CN103902371A (en) * 2014-03-14 2014-07-02 汉柏科技有限公司 Method and system for acquiring inner core jiffies from user mode program
CN103942149A (en) * 2014-03-27 2014-07-23 汉柏科技有限公司 User mode application and kernel message interaction method and system
WO2014180397A1 (en) * 2013-12-16 2014-11-13 中兴通讯股份有限公司 Network data packet sending method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012016439A1 (en) * 2010-08-06 2012-02-09 中兴通讯股份有限公司 Method, device and equipment for service management
CN102200930A (en) * 2011-05-26 2011-09-28 华为数字技术有限公司 Synchronous variable mapping method and device, synchronous variable freeing method and synchronous variable deleting method
WO2014180397A1 (en) * 2013-12-16 2014-11-13 中兴通讯股份有限公司 Network data packet sending method and device
CN103902371A (en) * 2014-03-14 2014-07-02 汉柏科技有限公司 Method and system for acquiring inner core jiffies from user mode program
CN103942149A (en) * 2014-03-27 2014-07-23 汉柏科技有限公司 User mode application and kernel message interaction method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHUJIULIN90: "《linux定时器》", 《百度文库:HTTPS://WENKU.BAIDU.COM/VIEW/90AA99097CD184254B3535C0.HTML?FROM=SEARCH&FROM_PAGE=VIEW&FROM_MOD=DOWNLOAD》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802689A (en) * 2016-12-14 2017-06-06 西北工业大学 The implementation method of adjustable speed timer under Windows operating system environment
CN106802689B (en) * 2016-12-14 2020-01-17 西北工业大学 Method for implementing speed-adjustable high-precision timer under Windows operating system environment
CN108810181A (en) * 2017-05-03 2018-11-13 普天信息技术有限公司 A kind of address conversion method based on Intel DPDK
CN107526620A (en) * 2017-09-28 2017-12-29 东软集团股份有限公司 A kind of User space input-output equipment collocation method and device
CN107526620B (en) * 2017-09-28 2020-09-01 东软集团股份有限公司 User mode input and output equipment configuration method and device
CN112463662A (en) * 2020-12-16 2021-03-09 福州创实讯联信息技术有限公司 Method and terminal for controlling I2C equipment by user mode
CN112463662B (en) * 2020-12-16 2024-04-05 福州创实讯联信息技术有限公司 Method and terminal for user mode control of I2C equipment
WO2022166553A1 (en) * 2021-02-05 2022-08-11 华为技术有限公司 Method and apparatus for implementing batch system calls
CN118034894A (en) * 2024-04-11 2024-05-14 浪潮云信息技术股份公司 Method for managing kernel mode timer of operating system, electronic device and storage medium
CN118034894B (en) * 2024-04-11 2024-08-13 浪潮云信息技术股份公司 Method for managing kernel mode timer of operating system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN105468400A (en) Linux user mode based method and system for calling timer
US9678666B2 (en) Techniques to configure a solid state drive to operate in a storage mode or a memory mode
US10776308B2 (en) Smart memory data store or load method and apparatus
US8453015B2 (en) Memory allocation for crash dump
KR102048762B1 (en) Method, device and system for refreshing dynamic random access memory(dram)
CN102662690A (en) Method and apparatus for starting application program
CN113674133A (en) GPU cluster shared video memory system, method, device and equipment
US10261918B2 (en) Process running method and apparatus
EP2375324A2 (en) Virtualization apparatus for providing a transactional input/output interface
US10242422B2 (en) Computing methods and apparatuses with graphics and system memory conflict check
US12020050B2 (en) Processor feature ID response for virtualization
CN104239096A (en) Method and unit for realizing security data partitions in Android system
CN107632779B (en) Data processing method and device and server
JP6674460B2 (en) System and method for improved latency in a non-uniform memory architecture
US20190042415A1 (en) Storage model for a computer system having persistent system memory
US8726101B2 (en) Apparatus and method for tracing memory access information
US9697123B2 (en) Information processing device, control method of information processing device and control program of information processing device
US20140289739A1 (en) Allocating and sharing a data object among program instances
KR20140073955A (en) Memory system and method for operating the same
US9600190B2 (en) Virtual machine functions for multiple privileged pages
KR102563648B1 (en) Multi-processor system and method of operating the same
CN103246611A (en) File processing method and system
CN111274040A (en) Memory management method and device
EP4386548A1 (en) Resource management method and corresponding device
CN102063303B (en) Method for supporting kdata page of WinCE/WM by Linux kernel

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination