Embodiments of the inventive subject matter generally relate to the field of operating systems and, more particularly, to minimizing overhead in resolving operating system symbols.
Functionality of an operating system kernel can be extended via dynamically loadable modules also known as kernel extensions. The kernel extensions can interact with services provided by the operating system kernel and can extend the services of, or provide new services to, programs that execute on the operating system. Programs and shared libraries might reference symbols in the operating system kernel. The operating system kernel resolves the references and identifies information associated with the symbols. Currently, various versioning systems are used to differentiate between different versions of operating system symbols and to provide unique symbol resolution to the programs/shared libraries based on the version of the symbol requested.
Embodiments include a method for resolving conflicting operating system symbols. A default symbol resolution data structure is accessed to resolve a symbol associated with a client of an operating system. A first data entry that corresponds to the symbol is located in the default symbol resolution data structure. It is determined that the first data entry indicates that the symbol is marked special. Being marked special indicates that the symbol is a conflicting operating system symbol. A secondary symbol resolution data structure is accessed in response to determining that the first data entry indicates that the symbol is marked special. The secondary symbol resolution data structure comprises a plurality of data entries. The plurality of data entries corresponds to one or more conflicting operating systems symbols, and each data entry of the plurality of data entries comprises an indication of the symbol and an identifier of a client. A second data entry that corresponds to the symbol is located in the secondary symbol resolution data structure based, at least in part, on an identifier of the client. A memory location indicated in the second data entry that corresponds to the symbol is provided to the client.
The present embodiments may be better understood, and numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.
The description that follows includes exemplary systems, methods, techniques, instruction sequences, and computer program products that embody techniques of the present inventive subject matter. However, it is understood that the described embodiments may be practiced without these specific details. For instance, although examples refer to resolving conflicting symbols across workload partitions (WPARs) in an IBM® Advanced Interactive Executive (AIX®) operating system, in other embodiments, operations described herein can also be implemented for resolving conflicting symbols in any suitable operating system and/or across other implementations of operating system-level virtualization (e.g., across containers/zones, virtual environments, virtual private servers (VPS), etc.) or across individual applications. In other instances, well-known instruction instances, protocols, structures, and techniques have not been shown in detail in order not to obfuscate the description.
Organizations employ operating system virtualization or workload partitions (WPARs) to organize and isolate workloads in accordance with business requirements, organizational guidelines, etc., while efficiently utilizing available equipment. For instance, an administrator can create different WPARs for a marketing department database and associated applications (“marketing database workload”), an accounting department database and associated applications (“accounting database workload”), and legal department electronic mail server (“legal e-mail workload”). Instead of using 3 different servers, the resources of a single server can be used to satisfy the needs of the 3 workloads. Each WPAR presents to the respective hosted workload (i.e., processes, application(s) of the workload) as an instance of an operating system with its own namespace and process environment.
Multiple WPARs within an operating system might request for different versions of the same symbol or might generate symbols with the same name but that require different symbol resolution. Operating system symbols that have different resolutions from one WPAR to another WPAR (or from one process to another process) can cause conflicts and incorrect symbol resolution. Currently, symbol versioning techniques are employed to provide unique symbol resolution for operating system symbols depending on the version of the symbol referenced by the WPAR. However, symbol versioning can be complicated because it involves configuring compilation processes and linkage processes within the operating system to track the different versions of the symbols supported by the operating system (e.g., linking a symbol by name and by version). Symbol versioning also requires keeping track of new/updated versions of the symbols, determining whether a version of the symbol requested by the WPAR exists, when/whether to delete an old version of the symbol, etc. Thus, symbol versioning can be complex and can require additional maintenance. Unique symbol resolution of operating system symbols can be provided by maintaining a different symbol resolution table for each WPAR in the operating system. However, this can result in the operating system incurring additional overhead in processing all symbols, irrespective of whether or not the symbols require a unique resolution. Moreover, maintaining multiple such tables can be complex and resource intensive.
Operating system symbols that require unique symbol resolution (e.g., symbols with the same symbol name across two or more WPARs) can be identified as conflicting operating system symbols. The operating system can maintain a default symbol resolution table for all symbols associated with all the WPARs and can access a secondary symbol resolution table to resolve the conflicting operating system symbols. The conflicting operating system symbols can be marked as “special” and are herein also referred to as special operating system symbols. The special operating system symbols can be identified by inserting a predetermined mark into data entries that correspond to the special operating system symbols. The predetermined mark can serve to invalidate the data entries, in the default symbol resolution table, that correspond to the special operating system symbols, causing symbol resolution for the special operating system symbols to fail in the default symbol resolution table. Accordingly, a secondary symbol resolution table can be accessed to resolve the special operating system symbol based on symbol information (e.g., a symbol identifier) and an identifier of the WPAR that requested the symbol resolution. Such a technique for accessing the secondary symbol lookup table to resolve the operating system symbols based on the indication of the WPAR with which the symbol is associated may be implemented only for special operating system symbols (i.e., operating system symbols that might result in collision). In other words, all non-special operating system symbols are resolved by looking up the operating system symbol in the default symbol resolution table. This can minimize the overhead incurred associated with resolving the operating system symbols. This also precludes the need for maintaining a unique symbol resolution table for each WPAR, thus minimizing resources associated with storing and maintaining a symbol resolution table for each WPAR. This in turn can improve efficiency of the symbol resolution.
The WPAR management unit 106 creates the WPARs 108, 110, and 112 within the operating system 104. The WPARs 108, 110, and 112 are contained environments that are created from and share resources (e.g., memory and processor resources) of a single instance of the operating system 104. For example, the WPARs 108, 110, and 112 may share a common AIX kernel and may comprise their own file systems, users, administrators, network space, etc. Each of the WPARs 108, 110, and 112 can comprise applications and other workloads that execute within the contained environment of the WPAR.
When a kernel extension or an application is loaded within a WPAR, a loader process in the operating system 104 executes various operations including validation, reading executable content into main memory, resolving symbols used by the application/kernel extension, etc. Symbol resolution can occur as a by-product of loading the user space application or the kernel extension. The loaded kernel extension references symbols (e.g., functions, variables, services) in a base operating system kernel. Symbol resolution enables the referenced symbol to be mapped to a symbol definition associated with the symbol (e.g., a memory address that indicates processing operations associated with the symbol). For example, during symbol resolution, a symbol “foo” is tied to an appropriate memory address associated with the symbol “foo”. The memory address can reference a function, which is to be executed on encountering subsequent references to the symbol “foo”. The user space application may also comprise various symbols (e.g., system calls) associated with the application and symbol resolution of the user space application symbols can comprise mapping the system call to a memory location to which control should pass on encountering the system call. The symbol resolution unit 102 can execute operations described herein during a linking process for tying the symbols to their appropriate symbol definitions based on whether the symbols are conflicting symbols.
During symbol resolution, various events can trigger conflicts between symbols. In one implementation, the WPAR 108 may load a kernel extension that may redefine a symbol that is already defined in a base operating system kernel. Conflicts between symbols can arise when the WPAR 108 references the symbol as defined by the kernel extension and/or another WPAR 110 (which does not require the kernel extension) references the symbol as defined by the base operating system kernel. In another implementation, a first WPAR 108 may load a first kernel extension for functionality required by the WPAR 108, and a second WPAR 110 may load a second kernel extension for functionality required by the WPAR 110. The first and the second kernel extensions may comprise a symbol with the same name but with different functionality (i.e., different symbol resolution). Conflicts between symbols can arise when the WPAR 108 references the symbol as defined by the first kernel extension and the WPAR 110 references the symbol as defined by the second kernel extension. In another implementation, conflicts between symbols can arise in a compatibility runtime environment (CRE) WPAR. The CRE WPAR can execute code (and other processes) that are linked to a version of the operating system that is lower than the version of the base operating system 104. For example, the base operating system may be a version 7.1 AIX operating system, while the CRE WPAR may execute processes that are linked to a version 5.2 AIX operating system (e.g., access libraries and hardware in accordance with architecture that is specific to the version 5.2 AIX operating system). For the CRE WPAR to execute properly, the operating system kernel is required to maintain symbol definitions for the earlier version of the operating system as well as symbol definitions for the global operating system. Thus, two different versions (e.g., version 5.2 and version 7.1) of the symbol may be maintained by the operating system kernel. Conflicts between symbols can arise when the CRE WPAR references a symbol that is defined differently by the earlier version of the operating system and by the later version of the operating system. The symbol resolution unit 102 can implement functionality for identifying conflicting symbols and for resolving the conflicting symbols while minimizing processing overhead as will be described below.
At stage A, the symbol resolution unit 102 receives a symbol to be resolved from the WPAR 108. The symbol resolution unit 102 performs a different set of operations for symbol resolution depending on whether the symbol received at stage A is marked as a special symbol (e.g., whether the symbol generated by the WPAR 108 conflicts with a symbol generated by another WPAR 110) and depending on whether a valid data entry that corresponds to the symbol can be identified in the default symbol table 114. Stages B1, C1, and D1 describe operations of the symbol resolution unit 102 if a valid data entry that corresponds to the symbol cannot be identified in the default symbol table 114 and if the symbol is identified as a special symbol. Stages B2 and C2 describe operations of the symbol resolution unit 102 if a valid data entry that corresponds to the symbol can be identified in the default symbol table 114.
At stage B1, the symbol resolution unit 102 accesses the default symbol table 114 and determines that a data entry 116 that corresponds to the received symbol is invalid. The default symbol table is a global symbol resolution table that comprises information about symbols associated with each of the WPARs 108, 110, and 112. The default symbol table 114 may be any suitable data structure (e.g., an array, a list, etc.) that comprises an indication of the symbol (e.g., a hash value or a truncated hash value associated with the symbol) and information that corresponds to the symbol. The information that corresponds to the symbol can comprise a location in memory from which content corresponding to the symbol can be read, a location in memory at which instructions for subsequent processing of the symbol can be identified, etc. For example, the information can comprise a reference to a file, a function, a routine, a procedure, a binary module, etc.
In one implementation, the default symbol table 114 may be implemented as a hash table. The symbol resolution unit 102 generates a hash value of the symbol received at stage A, and uses the hash value of the symbol (or a subset of the hash value of the symbol) as an index 115 to identify the data entry 116 that corresponds to the symbol in the default symbol table 114. The symbol resolution unit 102 determines that the index 115 associated with the symbol is “200”. The symbol resolution unit 102 looks up the index 115 in the default symbol table 114 and identifies the data entry 116 that corresponds to the index 115. In other implementations, the default symbol table 114 can be implemented as a hierarchical (or multi-level) symbol table for locating symbols with different symbol scopes. On identifying the data entry 116 that corresponds to the symbol, the symbol resolution unit 102 analyses the data entry 116 and determines that the data entry 116 is not a valid data entry. For example, based on knowledge that the data entries of the default symbol table 114 comprise memory addresses, the symbol resolution unit 102 may determine that content of the data entry 116 is not within a predetermined range of memory addresses, that the content of the data entry 116 comprises a combination of characters/numbers that do not correspond to a valid memory address, etc. The symbol resolution unit 102 may also determine that the symbol does not correspond to a valid data entry if a data entry for the symbol cannot be found in the default symbol table 114. In
On determining that the symbol does not correspond to a valid data entry 116 in the default symbol table 114, the symbol resolution unit 102 can initiate symbol error processing operations. In one implementation, the symbol resolution unit 102 may execute the symbol error processing operations. In another implementation, the symbol resolution unit 102 may invoke a distinct symbol error processing unit (not shown) to execute the symbol error processing operations and to resolve the symbol. As part of the symbol error processing operations, the symbol resolution unit 102 analyses the data entry 116 to determine whether the data entry 116 is invalid because it comprises a predetermined special mark. As described above, the operating system kernel can maintain different versions of a symbol and references a symbol for which different versions exist (e.g., by a WPAR, a CRE WPAR, etc.) can result in conflicts and in improper symbol resolution (e.g. a WPAR receiving an incorrect memory location for the symbol, the WPAR receiving information that corresponds to an incorrect instance of the symbol, etc.). The predetermined special mark invalidates the data entry 116 that corresponds to the symbol in the default symbol table 114 and serves to indicate that the secondary symbol table 120 is to be accessed to determine a WPAR-specific symbol resolution as will be described in stage C1. In
At stage C1, the symbol resolution unit 102 accesses the special symbol table 120 and identifies a data entry 122 that corresponds to a symbol instance for the WPAR 108 that requested the symbol resolution. In one implementation, the memory location at which the special symbol table 120 can be accessed may be pre-configured (e.g., hardwired as part of the symbol resolution unit 102 or stored in a known memory location). In another implementation, the predetermined special mark determines the memory location at which the special symbol table 120 may be referenced. The symbol resolution unit 102 identifies the data entry 122 that corresponds to the received symbol based on the received symbol and also based on an identifier of the WPAR 108 that requested the symbol resolution. The symbol resolution unit 102 can determine the identifier of the WPAR 108 from the request for symbol resolution (received at stage A) or can request the identifier of the WPAR 108 from the WPAR management unit 106. The special symbol table 120 can comprise multiple data entries that correspond to the symbol but that correspond to a different WPAR. The appropriate data entry for the symbol to be provided to the WPAR can be identified based on the identifier of the WPAR. As depicted in
In one implementation, the special symbol table 120 can be implemented as a hash table. The symbol resolution unit 102 can calculate a new hash value based on the symbol and the WPAR identifier. The symbol resolution unit 102 can use the new hash value or a subset of the new hash value as an index to identify the data entry 122 in the special symbol table 120 that corresponds to the appropriate instance of the received symbol for the WPAR 108. For example, as depicted in
In another implementation, the special symbol table 120 may be implemented as a hierarchical or multi-level symbol table and different instances of the received symbol may be indexed in the special symbol table 120 based on the WPAR identifiers. The symbol resolution unit 102 may identify a section of the special symbol table 120 that corresponds to the received symbol based on the hash value (or a subset of the hash value) of the symbol calculated at stage B1. Based on the identifier of the WPAR 108, the symbol resolution unit 102 can identify the data entry 122 that corresponds to the symbol instance associated with the WPAR 108 within the identified section of the special symbol table 120. In another implementation, the symbol resolution unit 102 can execute a linear search within the special symbol table 120 using the identifier of the WPAR 108 and the received symbol to identify the data entry 122 that corresponds to an appropriate symbol instance for the WPAR 108.
At stage D1, the symbol resolution unit 102 provides content of the data entry 122 that corresponds to the appropriate instance of the received symbol to the WPAR 108. With reference to
However, if the symbol resolution unit 102 can identify a valid data entry that corresponds to the received symbol in the default symbol table 114, error processing operations including accessing the special symbol table 120 are not executed, thus minimizing overhead associated with processing non-conflicting symbols. This will be described below in stages B2 and C2.
At stage B2, the symbol resolution unit 102 accesses the default symbol table 114 and determines that a valid data entry 118 for the received symbol exists. As described above (in stage B1), the symbol resolution unit 102 generates a hash value of the symbol received at stage A, and uses the hash value of the symbol (or a subset of the hash value of the symbol) as an index 117 to identify the data entry 118 that corresponds to the symbol in the default symbol table 114. In
At stage C2, the symbol resolution unit 102 provides the content of the data entry 118 to the WPAR 108. With reference to
It is noted that the symbol resolution unit 102 can keep track of the symbols with which the WPARs are associated. For example, as described above, WPAR 108 may load a first kernel extension that provides a first definition of a symbol “foo”. The WPAR 110 may load a second kernel extension that provides a second definition of the same symbol “foo”. The symbol resolution unit 102 can execute operations described herein so that the WPAR 108 receives the first definition if the WPAR 108 references the symbol “foo” and the WPAR 110 receives the second definition if the WPAR 110 references the symbol “foo”. If the operating system 104 does not define the symbol “foo”, the WPAR 112 should not have access to either the first definition or the second definition of the symbol “foo”. However, if the operating system 104 provides a third definition of the symbol “foo”, the WPAR 112 can receive the third definition if the WPAR 112 references the symbol “foo”.
A symbol, associated with a client, to be resolved is received (202). The client may be an application, a WPAR, or other client that requires resolution of symbols. An operating system kernel may receive the symbol to be resolved in response to an application or a kernel extension being loaded (e.g., within a WPAR). Applications or processes executing within the WPAR may reference symbols including functions, variables, and services of a kernel or may generate system calls to the kernel. Also, loaded kernel extensions may reference symbols within a base operating system kernel. When applications or kernel extensions are loaded, symbols referenced by the applications/kernel extensions are resolved (e.g., by the base operating system kernel). In other words, during symbol resolution, requisite information associated with the symbol is determined. The information associated with the symbol can comprise a memory location that references content corresponding to the symbol and/or instructions for subsequent processing of the symbol (e.g., a reference to a file, a function, a routine, a procedure, a binary module, etc.). The flow continues at block 204.
A hash value of the symbol is calculated (204). Any suitable hash algorithm can be used to calculate the hash value of the symbol. The flow continues at block 206.
A default symbol resolution table is accessed and a data entry that corresponds to the symbol is identified based on the hash value of the symbol (206). The default symbol table can comprise an indication of the symbol (e.g., a hash value or a truncated hash value associated with the symbol, a symbol identifier, etc.) and the data entry (comprising information associated with the symbol) that corresponds to the indication of the symbol. The hash value (or truncated hash value) of the symbol can be used as an index to identify the data entry that corresponds to the symbol in the default symbol resolution table. In some implementations, the default symbol table may be implemented as a hierarchical symbol table and different sections of the default symbol table may be accessed to identify the data entry that corresponds to the symbol based on the scope (or other properties such as the identifier) of the symbol. The flow continues at block 208.
It is determined whether the data entry that corresponds to the symbol in the default symbol resolution table is valid (208). For example, based on knowledge that data entries of the default symbol resolution table comprise memory addresses, the data entry (identified at block 206) that corresponds to the received symbol may be compared against a range of valid memory addresses. If it is determined that the data entry, in the default symbol resolution table, that corresponds to the symbol is valid, the flow continues at block 210. Otherwise, the flow continues at block 212.
Content of the data entry, in the default symbol resolution table, that corresponds to the symbol is provided to the client (210). For example, if the data entry comprises a memory address associated with the symbol, the memory address can be provided to the client (e.g., the WPAR). The WPAR can access the memory location associated with the symbol and can accordingly process the symbol based on information at the memory location. Additionally, the WPAR can store the memory location associated with the symbol to process subsequent references to the symbol. From block 210, the flow ends.
It is determined whether the data entry, in the default symbol resolution table, that corresponds to the symbol comprises a predetermined special mark (212). The flow 200 moves from block 208 to block 212 on determining that the data entry that corresponds to the symbol in the default symbol resolution table is invalid. In one implementation, symbol error processing operations as described with reference to blocks 212-222 may be executed to determine whether the symbol is a special symbol and can be resolved. As described above, because WPARs can operate independently of each other, symbols referenced by one WPAR may conflict with symbols referenced by another WPAR (e.g., when one WPAR references an older version of a symbol defined by the operating system kernel and the other WPAR references a new version of a symbol defined by a kernel extension). This can result in improper symbol resolution. The predetermined special mark indicates that the symbol received at block 202 is a conflicting operating system symbol and that information that corresponds to an instance of the received symbol that is specific to the WPAR with which the symbol is associated is to be determined. The predetermined special mark can be configured to be any suitable combination of characters, numbers, etc. If it is determined that the data entry that corresponds to the symbol in the default symbol resolution table comprises the predetermined special mark, the flow continues at block 216 in
An error indicating inability to resolve the received symbol is generated (214). The flow 200 moves from block 212 to block 214 on determining that the data entry that corresponds to the received symbol is invalid and that the data entry that corresponds to the received symbol does not comprise the predetermined special mark in the default symbol resolution table. Because the data entry that corresponds to the received symbol does not comprise the predetermined special mark, additional processing operations (e.g., accessing a secondary symbol resolution table) need not be executed to resolve the received symbol. An error message indicating inability to resolve the received symbol can be provided to the WPAR that generated the request for symbol resolution. The error message can identify the symbol and can indicate a reason for failed symbol resolution. For example, the error message can indicate that a data entry corresponding to the received symbol could not be found in the default symbol resolution table, that the identified data entry does not comprise a valid memory location, etc. From block 214, the flow ends.
A secondary symbol resolution table is identified based on determining that the data entry that corresponds to the symbol in the default symbol resolution table comprises the predetermined special mark (216). The flow 200 moves from block 212 in
An identifier of the client is determined (218). For example, an identifier of the WPAR that requested the symbol resolution can be determined from the request for symbol resolution received at block 202. As another example, a WPAR management unit can be queried to determine the identifier of the WPAR that requested the symbol resolution. If the client is an application or a process, an application/process identifier can be determined. The flow continues at block 220.
A secondary data entry that corresponds to the client's instance of the symbol is identified from the secondary symbol resolution table, based on the identifier of the client and the symbol to be resolved (220). In one implementation, a new hash value can be calculated based on the received symbol and the WPAR identifier. The secondary data entry that corresponds to the WPAR's instance of the symbol can be identified from the secondary symbol resolution table based on the new hash value. In another implementation, based on the hash value of the symbol (calculated at block 204), an array (or a section of the secondary symbol resolution table) that comprises WPAR-specific resolutions for the received symbol can be identified. A secondary data entry (within the array) that corresponds to the WPAR's instance of the symbol can be determined based on knowledge of the WPAR identifier. For example, a WPAR identifier of 01 may correspond to an array index of “00” indicating that the secondary data entry to be provided to the WPAR with identifier 01 is the first element of the array. In another implementation, the secondary symbol resolution table may be implemented as a hierarchical or multi-level symbol table and different instances of the received symbol may be indexed in the secondary symbol resolution table based on the WPAR identifiers. In another implementation, a linear search can be performed within the secondary symbol resolution table using the identifier of the WPAR and the received symbol to identify the secondary data entry that corresponds to an appropriate symbol instance for the WPAR. The flow continues at block 222.
Content of the secondary data entry that corresponds to the symbol in the secondary symbol resolution table is provided to the client (block 222). For example, if the secondary data entry comprises a memory address associated with the symbol, the memory address can be provided to the WPAR (or other client). The WPAR can access the memory location associated with the symbol for which symbol resolution was requested at block 202 and can retrieve requisite content/information associated with the symbol and/or can read instruction(s) for subsequent processing of the symbol. The WPAR 108 (or an application within the WPAR with which the symbol is associated) can also store the memory location associated with the symbol. In some implementations, the symbol resolution unit 102 can write the memory location that maps to the symbol for the WPAR 108 to a predetermined data structure associated with the WPAR 108. On encountering the symbol subsequently, the WPAR 108 (or the application) can access the predetermined data structure, identify the memory location associated with the symbol (i.e., the version of the symbol that is specific to the WPAR 108) and can accordingly process the symbol. From block 222, the flow ends.
It should be understood that
It is noted that although
At an operating system level, the symbols can be identified as conflicting symbols (i.e., special symbols) or non-conflicting symbols (based on whether the data entry associated with the symbols comprises the predetermined special mark in the global symbol table). For example, a kernel developer could identify the conflicting operating system symbols and invalidate data entries that correspond to the conflicting operating system symbols in the default symbol resolution table by inserting the predetermined special mark. As another example, a kernel process that is transparent to the WPARs 108, 100, and 112 could analyze the symbols associated with the WPARs 108, 100, and 112 and could identify the conflicting operating system symbols. The conflicting operating system symbols can be identified as symbols that are generated by different WPARs and that have the same symbol name but a different symbol resolution (e.g., a different version of the symbol). It is noted that the applications and/or the WPARs are oblivious to whether or not the symbols generated by the applications/WPARs are conflicting operating system symbols.
Techniques for symbol processing as described herein can enable symbol linking based on symbol name irrespective of the version of the symbol being used. The version of the symbol is implicitly identified based on the identifier of the client (e.g., the WPAR identifier). The version of the symbol provided to the WPAR is tied to the version of the symbol requested by and executing on the WPAR. Furthermore, the default symbol resolution table and the secondary symbol resolution table need not be updated if the WPAR switches from one version (e.g., of a program, kernel extension, or even operating system in case of a CRE WPAR) to another version. Instead, after the WPAR is rebooted and a new version of the symbol is generated, the symbol resolution corresponding to the new version of the symbol is provided to the WPAR. For example, an operating system may comprise two versions of a kernel extension that define the same symbol (thus making the symbol a conflicting operating system symbol). In a first invocation of a WPAR, a WPAR administrator could allow a first version of the kernel extension to load and the symbol resolution unit 102 could provide (based on accessing the secondary symbol resolution table 120) symbol resolution corresponding to the symbol in the first version of the kernel extension. In a second invocation of the WPAR, the WPAR administrator could allow a second version of the kernel extension to load and the symbol resolution unit 102 could provide (based on accessing the secondary symbol resolution table 120) symbol resolution corresponding to the symbol in the second version of the kernel extension.
As will be appreciated by one skilled in the art, aspects of the present inventive subject matter may be embodied as a system, method, or computer program product. Accordingly, aspects of the present inventive subject matter may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit”, “module” or “system”. Furthermore, aspects of the present inventive subject matter may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium does not include transitory propagating signals.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present inventive subject matter may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present inventive subject matter are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the inventive subject matter. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The computer system 400 also includes a symbol processing unit 408. The symbol processing unit 408 implements functionality to determine whether a symbol to be resolved is identified as a conflicting operating system symbol. The symbol processing unit 408 determines whether a data entry corresponding to the symbol in a default symbol resolution table (which may be implemented in the memory unit 406) is invalidated by a predetermined special mark. If so, the symbol processing unit 408 accesses a secondary symbol resolution table (which may also be implemented in the memory unit 406). The symbol processing unit 408 resolves the symbol based on symbol information (e.g., a symbol identifier) and an identifier of a client that requested the symbol resolution as described with reference to
In some embodiments, the computer system 400 can include additional devices and/or more than one of each component shown in
While the embodiments are described with reference to various implementations and exploitations, it will be understood that these embodiments are illustrative and that the scope of the inventive subject matter is not limited to them. In general, techniques for minimizing overhead in resolving operating system symbols as described herein may be implemented with facilities consistent with any hardware system or hardware systems. Many variations, modifications, additions, and improvements are possible.
Plural instances may be provided for components, operations, or structures described herein as a single instance. Finally, boundaries between various components, operations, and data stores are somewhat arbitrary, and particular operations are illustrated in the context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within the scope of the inventive subject matter. In general, structures and functionality presented as separate components in the exemplary configurations may be implemented as a combined structure or component. Similarly, structures and functionality presented as a single component may be implemented as separate components. These and other variations, modifications, additions, and improvements may fall within the scope of the inventive subject matter.
Number | Name | Date | Kind |
---|---|---|---|
5734822 | Houha et al. | Mar 1998 | A |
6075939 | Bunnell et al. | Jun 2000 | A |
6704925 | Bugnion | Mar 2004 | B1 |
6766514 | Moore | Jul 2004 | B1 |
20020087956 | Darlet | Jul 2002 | A1 |
20040133761 | Goodman | Jul 2004 | A1 |
20040187130 | Koning | Sep 2004 | A1 |
20050144619 | Newman | Jun 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20120011512 A1 | Jan 2012 | US |